Skip to content

Commit

Permalink
[prometheus-nats-exporter] Support connz_detailed and accstatz metrics (
Browse files Browse the repository at this point in the history
prometheus-community#4212)

* Add: support connz_detailed metrics

Signed-off-by: Nicolas Lamirault <[email protected]>

* Add: support accstatz metrics

Signed-off-by: Nicolas Lamirault <[email protected]>

---------

Signed-off-by: Nicolas Lamirault <[email protected]>
  • Loading branch information
nlamirault authored and Matiasmct committed Mar 20, 2024
1 parent 02534f2 commit 4363795
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/prometheus-nats-exporter/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v1
appVersion: 0.14.0
description: A Helm chart for prometheus-nats-exporter
name: prometheus-nats-exporter
version: 2.15.0
version: 2.16.0
home: https://github.com/nats-io/prometheus-nats-exporter
sources:
- https://github.com/nats-io/prometheus-nats-exporter
Expand Down
6 changes: 6 additions & 0 deletions charts/prometheus-nats-exporter/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,18 @@ spec:
{{- if .Values.config.metrics.varz }}
- "-varz"
{{- end }}
{{- if .Values.config.metrics.accstatz }}
- "-accstatz"
{{- end }}
{{- if .Values.config.metrics.channelz }}
- "-channelz"
{{- end }}
{{- if .Values.config.metrics.connz }}
- "-connz"
{{- end }}
{{- if .Values.config.metrics.connz_detailed }}
- "-connz_detailed"
{{- end }}
{{- if .Values.config.metrics.routez }}
- "-routez"
{{- end }}
Expand Down
2 changes: 2 additions & 0 deletions charts/prometheus-nats-exporter/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,10 @@ config:
namespace: default
port: 8222
metrics:
accstatz: true
channelz: true
connz: true
connz_detailed: true
jsz: true
gatewayz: true
leafz: true
Expand Down

0 comments on commit 4363795

Please sign in to comment.