grafana / agent

Vendor-neutral programmable observability pipelines.
https://grafana.com/docs/agent/
Apache License 2.0
1.56k stars 479 forks source link

snmp_exporter version update not working due to new snmp_exporter metric #6918

Closed erikbaranowski closed 1 month ago

erikbaranowski commented 1 month ago

What's wrong?

new metrics initialized in snmp_exporter inside main() https://github.com/prometheus/snmp_exporter/blob/44f8732988e726bad3f13d5779f1da7705178642/main.go#L287

new metrics not initialized in agent: https://github.com/grafana/agent/blob/82242780b2f848eefd85dec17008ff0b81d5a734/pkg/integrations/snmp_exporter/snmp_exporter.go#L120

Steps to reproduce

start the agent with the exporter

System information

No response

Software version

v0.40.5

Configuration

No response

Logs

No response