Skip to content

fix(dashboard): remove dead override hiding job queue time series#184

Merged
cbartz merged 2 commits intomainfrom
fix/grafana-job-queue-time-override
Apr 22, 2026
Merged

fix(dashboard): remove dead override hiding job queue time series#184
cbartz merged 2 commits intomainfrom
fix/grafana-job-queue-time-override

Conversation

@cbartz
Copy link
Copy Markdown
Collaborator

@cbartz cbartz commented Apr 22, 2026

Overview

Removes a leftover hideSeriesFrom override on the "Job queue time" panel of the planner Grafana dashboard (charms/planner-operator/cos_custom/grafana_dashboards/go.json).

Rationale

The override excluded every series except one specific named expression. Because the panel's current PromQL already aggregates with sum by (le) and produces a single series, the exclusion rule matched nothing and the chart rendered empty. Dropping the override restores the visualisation; the query, unit, and panel layout are otherwise unchanged.

Checklist

  • Changes comply with the project's coding standards and guidelines (see CONTRIBUTING.md and STYLE.md)
  • CONTRIBUTING.md has been updated upon changes to the contribution/development process (e.g. changes to the way tests are run) — N/A, dashboard JSON only
  • Technical author has been assigned to review the PR in case of documentation changes (usually *.md files) — N/A, no docs changes

The "Job queue time" panel had a leftover hideSeriesFrom override that
excluded every series except one specific named expression. Combined
with the panel's current query (which already aggregates with sum by
(le)), the override hid all data, leaving an empty chart.

The override is obsolete now that the query collapses every label
except le into a single combined histogram, so removing it restores
visualisation without any other change.
The astral-sh/setup-uv repository does not publish a floating v8 major
tag (only v8.0.0 and v8.1.0 specific tags exist), so referencing @v8
fails to resolve and breaks the workflow on every PR.
@cbartz cbartz merged commit e1247ab into main Apr 22, 2026
55 of 58 checks passed
@cbartz cbartz deleted the fix/grafana-job-queue-time-override branch April 22, 2026 09:58
florentianayuwono pushed a commit that referenced this pull request Apr 22, 2026
* fix(dashboard): remove dead override hiding job queue time series

The "Job queue time" panel had a leftover hideSeriesFrom override that
excluded every series except one specific named expression. Combined
with the panel's current query (which already aggregates with sum by
(le)), the override hid all data, leaving an empty chart.

The override is obsolete now that the query collapses every label
except le into a single combined histogram, so removing it restores
visualisation without any other change.

* ci: pin astral-sh/setup-uv to v8.1.0

The astral-sh/setup-uv repository does not publish a floating v8 major
tag (only v8.0.0 and v8.1.0 specific tags exist), so referencing @v8
fails to resolve and breaks the workflow on every PR.
florentianayuwono added a commit that referenced this pull request Apr 29, 2026
* feat: enable log forwarding through otel collector

* chore(deps): update dependency packaging to v26.1 (#180)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency sphinx-ubuntu-images to v0.2.0 (#181)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): replace astral-sh/setup-uv action with astral-sh/setup-uv v8 (#182)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update module github.com/jackc/pgx/v5 to v5.9.2 (#183)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(dashboard): remove dead override hiding job queue time series (#184)

* fix(dashboard): remove dead override hiding job queue time series

The "Job queue time" panel had a leftover hideSeriesFrom override that
excluded every series except one specific named expression. Combined
with the panel's current query (which already aggregates with sum by
(le)), the override hid all data, leaving an empty chart.

The override is obsolete now that the query collapses every label
except le into a single combined histogram, so removing it restores
visualisation without any other change.

* ci: pin astral-sh/setup-uv to v8.1.0

The astral-sh/setup-uv repository does not publish a floating v8 major
tag (only v8.0.0 and v8.1.0 specific tags exist), so referencing @v8
fails to resolve and breaks the workflow on every PR.

* chore: update Copilot collections to v0.11.0 (#172)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Christopher Bartz <christopher.bartz@canonical.com>

* chore(docs): update contributing guidelines (charmkeeper) (#170)

* chore(docs): update contributing guidelines (charmkeeper)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* fix(docs): build errors

* chore: clarify PR checklist and remove unnecessary item

* chore(docs): revert changes in CONTRIBUTING.md

* fix(docs): whoops we're ignoring the changelog

* fix: update pr checklist to incorporate previous items, remove duplicate items

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* fix: run shell as bash

* Update docs/how-to/enable-log-forwarding.md

Co-authored-by: Erin Conley <erin.conley@canonical.com>

* Apply suggestions from code review

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Erin Conley <erin.conley@canonical.com>

* fix docs

* add index

* Update actions/enable-log-forwarding/enable-log-forwarding.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update actions/enable-log-forwarding/enable-log-forwarding.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* address code reviews

Co-authored-by: Copilot <copilot@github.com>

* add license

Co-authored-by: Copilot <copilot@github.com>

* fix docs

Co-authored-by: Copilot <copilot@github.com>

* refactor code

Co-authored-by: Copilot <copilot@github.com>

* Apply suggestions from code review

Co-authored-by: Erin Conley <erin.conley@canonical.com>

* address code reviews

Co-authored-by: Copilot <copilot@github.com>

* remove pyyaml

Co-authored-by: Copilot <copilot@github.com>

* parameterized test

Co-authored-by: Copilot <copilot@github.com>

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Christopher Bartz <christopher.bartz@canonical.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Erin Conley <erin.conley@canonical.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <copilot@github.com>
florentianayuwono added a commit that referenced this pull request Apr 30, 2026
* feat: enable log forwarding through otel collector

* chore(deps): update dependency packaging to v26.1 (#180)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency sphinx-ubuntu-images to v0.2.0 (#181)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): replace astral-sh/setup-uv action with astral-sh/setup-uv v8 (#182)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update module github.com/jackc/pgx/v5 to v5.9.2 (#183)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(dashboard): remove dead override hiding job queue time series (#184)

* fix(dashboard): remove dead override hiding job queue time series

The "Job queue time" panel had a leftover hideSeriesFrom override that
excluded every series except one specific named expression. Combined
with the panel's current query (which already aggregates with sum by
(le)), the override hid all data, leaving an empty chart.

The override is obsolete now that the query collapses every label
except le into a single combined histogram, so removing it restores
visualisation without any other change.

* ci: pin astral-sh/setup-uv to v8.1.0

The astral-sh/setup-uv repository does not publish a floating v8 major
tag (only v8.0.0 and v8.1.0 specific tags exist), so referencing @v8
fails to resolve and breaks the workflow on every PR.

* chore: update Copilot collections to v0.11.0 (#172)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Christopher Bartz <christopher.bartz@canonical.com>

* chore(docs): update contributing guidelines (charmkeeper) (#170)

* chore(docs): update contributing guidelines (charmkeeper)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* fix(docs): build errors

* chore: clarify PR checklist and remove unnecessary item

* chore(docs): revert changes in CONTRIBUTING.md

* fix(docs): whoops we're ignoring the changelog

* fix: update pr checklist to incorporate previous items, remove duplicate items

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* fix: run shell as bash

* Update docs/how-to/enable-log-forwarding.md

Co-authored-by: Erin Conley <erin.conley@canonical.com>

* Apply suggestions from code review

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Erin Conley <erin.conley@canonical.com>

* fix docs

* add index

* Update actions/enable-log-forwarding/enable-log-forwarding.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update actions/enable-log-forwarding/enable-log-forwarding.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* address code reviews

Co-authored-by: Copilot <copilot@github.com>

* add license

Co-authored-by: Copilot <copilot@github.com>

* fix docs

Co-authored-by: Copilot <copilot@github.com>

* refactor code

Co-authored-by: Copilot <copilot@github.com>

* Apply suggestions from code review

Co-authored-by: Erin Conley <erin.conley@canonical.com>

* address code reviews

Co-authored-by: Copilot <copilot@github.com>

* remove pyyaml

Co-authored-by: Copilot <copilot@github.com>

* parameterized test

Co-authored-by: Copilot <copilot@github.com>

* fix: use otlp exporter type instead of otlp_grpc

The opentelemetry-collector snap does not register an 'otlp_grpc'
exporter type. The correct type is 'otlp', which uses gRPC by default.
'otlp_grpc' caused the collector to fail to start after the config
fragment was written.

Also update the self-hosted smoke test to use the runner-injected
OTLP endpoint (removing the hardcoded localhost) and write real log
entries after forwarding is configured, so logs reach Loki.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* fix: add tls insecure to generated otlp exporter config

The OTLP endpoint otlp.actions.self-hosted-runners.internal:4317 uses
a self-signed certificate that does not match its hostname. The existing
github.yaml config already sets tls.insecure: true for the same endpoint.
Add the same setting to the generated exporter fragment to prevent the
TLS handshake failure.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Fix logging action

* style: fix black formatting and missing final newline

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Christopher Bartz <christopher.bartz@canonical.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Erin Conley <erin.conley@canonical.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <copilot@github.com>
Co-authored-by: Weii Wang <weii.wang@canonical.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants