Closed yixinin closed 1 year ago
<source> @type prometheus </source>
@type http port 9880 bind 0.0.0.0 add_remote_addr true
- prometheus config: ``` conf - job_name: 'fluentd-test' scrape_interval: 10s static_configs: - targets: ['localhost:24231']
Get /metrics only return data in x(e.g 10s) seconds. is there have some like time query like GET /metrics?start=1688449048&end=1688449058 or configuration like
<source> @type prometheus expire 10s </source>
duplicated https://github.com/fluent/fluent-plugin-prometheus/issues/20. Closing.
Configs
source data
Screenshot
Expect
Get /metrics only return data in x(e.g 10s) seconds. is there have some like time query like GET /metrics?start=1688449048&end=1688449058 or configuration like