Skip to content

Commit

Permalink
Merge pull request #1380 from porter-dev/sample-billing-events
Browse files Browse the repository at this point in the history
chore: set billing measurement default to 5m
  • Loading branch information
MauAraujo authored Aug 19, 2024
2 parents 1345be6 + dfb2f1d commit f9b7058
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion addons/porter-agent/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.38.0
version: 0.39.0
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
Expand Down
1 change: 1 addition & 0 deletions addons/porter-agent/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@ data:
SQL_LITE: "true"
SQL_LITE_PATH: "/porter/sqlite/agent.db"
PROMETHEUS_URL: "{{ .Values.agent.prometheusURL }}"
MEASUREMENT_PERIOD: "{{ .Values.agent.billingMeasurementPeriod }}"
1 change: 1 addition & 0 deletions addons/porter-agent/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ agent:
lokiURL: porter-agent-loki.porter-agent-system:9095
lokiHTTPURL: http://porter-agent-loki.porter-agent-system:3100
prometheusURL: http://prometheus-server.monitoring.svc
billingMeasurementPeriod: "5m"

resources:
limits:
Expand Down

0 comments on commit f9b7058

Please sign in to comment.