-
Notifications
You must be signed in to change notification settings - Fork 178
feat(opentelemetry-collector): Add new alerts and enhance configuration #1486
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
Conversation
|
FYI: @tpaschalis |
Dasomeone
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the delay on this one @alex5517!
No functional issues, but mixtool is throwing some lint errors that you may want to address :)
$ mixtool lint mixin.libsonnet
[alert-summary-missing-rule] Alert 'ReceiverDroppedSpans' must have annotation 'summary'
[alert-summary-missing-rule] Alert 'ReceiverDroppedMetrics' must have annotation 'summary'
[alert-summary-missing-rule] Alert 'ReceiverDroppedLogs' must have annotation 'summary'
[alert-summary-missing-rule] Alert 'ExporterDroppedSpans' must have annotation 'summary'
[alert-summary-missing-rule] Alert 'ExporterDroppedMetrics' must have annotation 'summary'
[alert-summary-missing-rule] Alert 'ExporterDroppedLogs' must have annotation 'summary'
[alert-summary-missing-rule] Alert 'ExporterQueueSize' must have annotation 'summary'
[alert-summary-missing-rule] Alert 'SendQueueFailedSpans' must have annotation 'summary'
[alert-summary-missing-rule] Alert 'SendQueueFailedMetricPoints' must have annotation 'summary'
[alert-summary-missing-rule] Alert 'SendQueueFailedLogRecords' must have annotation 'summary'
[template-datasource-rule] 'OpenTelemetry Collector / Operational': Dashboard 'OpenTelemetry Collector / Operational' templated data source variable named 'default', should be named 'prometheus_datasource', or 'datasource'
2025/10/16 14:57:30 failed to lint the file mixin.libsonnet: 11 lint errors found…libs into feat/add-rules-otelcol
|
Hi @Dasomeone, I fixed the lint errors :) |
Dasomeone
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fantastic, thank you for the contribution @alex5517, it looks great!
|
Aside apparently from a jsonnet formatting error 😅 Could you run |
Signed-off-by: Alexander Soelberg Heidarsson <89837986+alex5517@users.noreply.github.com>
|
@Dasomeone - Argh, sorry about that... make fmt changes pushed. |
…libs into feat/add-rules-otelcol
…on (grafana#1486) * feat: Add new alerts and enhance configuration * feat: add alert summaries and update default datasource name * jsonnetfmt Signed-off-by: Alexander Soelberg Heidarsson <89837986+alex5517@users.noreply.github.com> --------- Signed-off-by: Alexander Soelberg Heidarsson <89837986+alex5517@users.noreply.github.com> Co-authored-by: Emily <1282515+Dasomeone@users.noreply.github.com>
This PR adds the Prometheus alerts from the OpenTelemetry Collector Helm chart and modifies the config to allow for multi-cluster dashboard. Default has been configured to disabled.