fastly / fastly-exporter

A Prometheus exporter for the Fastly Real-time Analytics API
Apache License 2.0
99 stars 36 forks source link

Token expiration metric not available in a version v8.1.0 #171

Closed findmyname666 closed 4 months ago

findmyname666 commented 4 months ago

Hello,

I'm running exporter version v8.1.0. The token_expiration metric should be available from version v8.0.0. However I don't see this metric exposed by exporter:

# grepping metric with not result
$ grep token_expiration /tmp/fastly_exporter_metrics
$ wc -l /tmp/fastly_exporter_metrics
70851 /tmp/fastly_exporter_metrics

I use just 1 argument for service filtering -service-allowlist.

Could you double-check if metric is exposed for you pls?

findmyname666 commented 4 months ago

I noticed that the metric is only created when there is set some expiration for a token (link). In my case there is not ...