Skip to content

Commit

Permalink
fix metric naming
Browse files Browse the repository at this point in the history
  • Loading branch information
sofuture committed Sep 5, 2024
1 parent 8e086e8 commit be37027
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ spec:
format: "prometheus"
targetValue: "2"
url: "http://site-controller.{{.Release.Namespace}}.svc.cluster.local:6001/metrics"
valueLocation: "foxglove_data_platform_site_controller_unleased_pending_import_count"
valueLocation: "{{ with .Values.siteController.deployment.metrics.namespace }}{{ . }}{{else}}foxglove_data_platform{{ end }}_{{ with .Values.siteController.deployment.metrics.subsystem }}{{ . }}{{else}}site_controller{{ end }}_unleased_pending_import_count"
{{- else }}
apiVersion: apps/v1
kind: Deployment
Expand Down

0 comments on commit be37027

Please sign in to comment.