Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The charm does not surface workload error logs #367

Open
sed-i opened this issue Dec 13, 2024 · 0 comments
Open

The charm does not surface workload error logs #367

sed-i opened this issue Dec 13, 2024 · 0 comments

Comments

@sed-i
Copy link
Contributor

sed-i commented Dec 13, 2024

Bug Description

When the workload emits error level logs, the only way to see them is to kubectl logs, or rely on pebble log forwarding + loki.
The charm is active/idle while in practice we have "model departure": the dashboards forwarded over reldata are not present in grafana's database.

To Reproduce

Forward an invalid dashboard to grafana, e.g. with a too long UID.

Environment

Any

Relevant log output

2024-12-13T20:17:08.624Z [grafana] logger=provisioning.dashboard type=file name=Default t=2024-12-13T20:17:08.623968857Z level=error msg="failed to save dashboard" file=/etc/grafana/provisioning/dashboards/juju_grafana-agent_f70bf56.json error="uid too long, max 40 characters"
2024-12-13T20:17:13.530Z [grafana] logger=provisioning.dashboard type=file name=Default t=2024-12-13T20:17:13.530628028Z level=error msg="failed to save dashboard" file=/etc/grafana/provisioning/dashboards/juju_grafana-agent_f70bf56.json error="uid too long, max 40 characters"
2024-12-13T20:17:18.535Z [grafana] logger=provisioning.dashboard type=file name=Default t=2024-12-13T20:17:18.535278997Z level=error msg="failed to save dashboard" file=/etc/grafana/provisioning/dashboards/juju_grafana-agent_f70bf56.json error="uid too long, max 40 characters

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant