Skip to content

Why can't the token.count.by.policy metric keep retrieving data? #31855

@HaoY-l

Description

@HaoY-l

Why can't the token.count.by.policy metric keep retrieving data?

My configuration file is set as follows: telemetry { prometheus_retention_time = "300s" disable_hostname = true }. I plotted this metric in Grafana, but when I adjusted the time interval to the last 7 days, I only saw values ​​for one time point; the others had no values. Why is this?

I changed the panel type to gauge, and it shows "no data," but the data actually exists. What other methods can I use to troubleshoot this?

Where exactly is the problem? Is it that Vault itself doesn't have a token? Are there any commands I can use to check?

Or is it a problem with metric collection, because it's always present in my other environment?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions