Exposing metrics without timestamps
SandroJijavadze opened this issue · 1 comments
SandroJijavadze commented
Is it possible to expose metrics without timestamps?
We are trying to use a metric exported using stackdriver exporter in HPA through kubernetes prometheus adapter, and all other metrics that we have works, except this one, and the only difference we see is that it's timestamped.
Is it possible to disable this?
I couldn't find an option like that in code.
kgeckhart commented
You can adjust your prometheus scrape config to set honor_timestamps
false which will ignore the metric timestamp, https://prometheus.io/docs/prometheus/latest/configuration/configuration/#scrape_config.