We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When rules validation via cos-tool fails, we get a debug log like this:
Validating the rules failed: b'error validating /tmp/... (very long output)'
In charm code, we return the errors decoded, but when we print to debug-log, we do not decode:
prometheus-k8s-operator/lib/charms/prometheus_k8s/v0/prometheus_scrape.py
Lines 2316 to 2324 in d36ffa5
Also, the debug log line includes golang references that are not useful here.
This is repeated also here:
prometheus-k8s-operator/lib/charms/grafana_k8s/v0/grafana_dashboard.py
Line 1967 in d36ffa5
prometheus-k8s-operator/lib/charms/prometheus_k8s/v1/prometheus_remote_write.py
Line 917 in d36ffa5
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When rules validation via cos-tool fails, we get a debug log like this:
In charm code, we return the errors decoded, but when we print to debug-log, we do not decode:
prometheus-k8s-operator/lib/charms/prometheus_k8s/v0/prometheus_scrape.py
Lines 2316 to 2324 in d36ffa5
Also, the debug log line includes golang references that are not useful here.
This is repeated also here:
prometheus-k8s-operator/lib/charms/grafana_k8s/v0/grafana_dashboard.py
Line 1967 in d36ffa5
prometheus-k8s-operator/lib/charms/prometheus_k8s/v1/prometheus_remote_write.py
Line 917 in d36ffa5
Summary
The text was updated successfully, but these errors were encountered: