dnsmasq Exporter

    1. # Enables the dnsmasq_exporter integration, allowing the Agent to automatically
    2. # collect system metrics from the configured dnsmasq server address
    3. [enabled: <boolean> | default = false]
    4. # Sets an explicit value for the instance label when the integration is
    5. # self-scraped. Overrides inferred values.
    6. #
    7. # The default value for this integration is inferred from the dnsmasq_address
    8. # value.
    9. [instance: <string>]
    10. # Automatically collect metrics from this integration. If disabled,
    11. # the dnsmasq_exporter integration will be run but not scraped and thus not
    12. # remote-written. Metrics for the integration will be exposed at
    13. # /integrations/dnsmasq_exporter/metrics and can be scraped by an external
    14. # How often should the metrics be collected? Defaults to
    15. # prometheus.global.scrape_interval.
    16. [scrape_interval: <duration> | default = <global_config.scrape_interval>]
    17. # The timeout before considering the scrape a failure. Defaults to
    18. # prometheus.global.scrape_timeout.
    19. [scrape_timeout: <duration> | default = <global_config.scrape_timeout>]
    20. # Allows for relabeling labels on the target.
    21. relabel_configs:
    22. [- <relabel_config> ... ]
    23. # Relabel metrics coming from the integration, allowing to drop series
    24. # from the integration that you don't care about.
    25. metric_relabel_configs:
    26. # How frequent to truncate the WAL for this integration.
    27. [wal_truncate_frequency: <duration> | default = "60m"]
    28. # Monitor the exporter itself and include those metrics in the results.
    29. [include_exporter_metrics: <bool> | default = false]
    30. #
    31. # Exporter-specific configuration options
    32. #
    33. # Address of the dnsmasq server in host:port form.
    34. [dnsmasq_address: <string> | default = "localhost:53"]
    35. # Path to the dnsmasq leases file. If this file doesn't exist, scraping
    36. # dnsmasq # will fail with an warning log message.