Skip to content

etcd dashboards: blank panels due to rate() window matching opentelemetry-collector scrape interval #956

Description

@ggouzi

Bug Description

Several panels in the etcd Grafana dashboard use rate(...[1m]) expressions:

The opentelemetry-collector has a default scrape_interval of 1m.

Prometheus's rate() function requires at least 2 data points within the specified time window to compute a meaningful result.

When the window equals the scrape interval, only 1 data point is typically available, causing rate() to return no data.

Image

To Reproduce

juju deploy k8s --channel=1.32/stable --revision=1921
juju relate k8s opentelemetry-collector

Environment

  • Juju 3.6.23
  • k8s 1.32/stable rev 1921

Relevant log output

N/A

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions