Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion charts/drm-exporter/templates/daemonset.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ spec:
{{- end }}
env:
- name: DRM_EXPORTER_ADDRESS
value: "0.0.0.0"
value: {{ .Values.config.address | quote }}
- name: DRM_EXPORTER_PORT
value: {{ .Values.config.port | quote }}
- name: DRM_EXPORTER_INTERVAL_SECONDS
Expand Down
6 changes: 6 additions & 0 deletions charts/drm-exporter/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@
"config": {
"description": "The exporter's runtime configuration. Each key maps to a DRM_EXPORTER_* (or\nRUST_LOG) environment variable the binary reads; see the README for details.",
"properties": {
"address": {
"default": "0.0.0.0",
"description": "Metrics HTTP listen address (DRM_EXPORTER_ADDRESS); ipv6 also available as a choice.",
"title": "address",
"type": "string"
},
"devices": {
"description": "Restrict export to specific PCI slots, e.g. `[\"0000:03:00.0\"]` (DRM_EXPORTER_DEVICES); empty exports every GPU discovered.",
"items": {
Expand Down
2 changes: 2 additions & 0 deletions charts/drm-exporter/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ fullnameOverride: ""
# The exporter's runtime configuration. Each key maps to a DRM_EXPORTER_* (or
# RUST_LOG) environment variable the binary reads; see the README for details.
config:
# -- Metrics HTTP listen address (DRM_EXPORTER_ADDRESS); ipv6 also available as a choice.
address: 0.0.0.0
# -- Metrics HTTP listen port (DRM_EXPORTER_PORT); also the container and Service port.
port: 8081
# -- Seconds between GPU stat refreshes (DRM_EXPORTER_INTERVAL_SECONDS). Intel engine utilization is sampled across this window, so keep it at or below the Prometheus scrape interval.
Expand Down