Skip to content

Conversation

@alex5517
Copy link
Contributor

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.

@alex5517 alex5517 requested a review from a team as a code owner September 29, 2025 09:51
@alex5517
Copy link
Contributor Author

FYI: @tpaschalis

Dasomeone
Dasomeone previously approved these changes Oct 16, 2025
Copy link
Member

@Dasomeone Dasomeone left a 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

@Dasomeone Dasomeone dismissed their stale review October 16, 2025 12:59

Misclick, just meant to comment

@alex5517 alex5517 requested a review from Dasomeone October 22, 2025 06:41
@alex5517
Copy link
Contributor Author

Hi @Dasomeone,

I fixed the lint errors :)

Copy link
Member

@Dasomeone Dasomeone left a 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!

@Dasomeone
Copy link
Member

Aside apparently from a jsonnet formatting error 😅

Could you run make fmt and push the changes please?

@alex5517
Copy link
Contributor Author

@Dasomeone - Argh, sorry about that...

make fmt changes pushed.

@Dasomeone Dasomeone enabled auto-merge (squash) October 23, 2025 15:40
@Dasomeone Dasomeone merged commit 42973e5 into grafana:master Oct 23, 2025
9 checks passed
@alex5517 alex5517 deleted the feat/add-rules-otelcol branch October 23, 2025 18:18
postnati pushed a commit to postnati/jsonnet-libs that referenced this pull request Oct 27, 2025
…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 <[email protected]>

---------

Signed-off-by: Alexander Soelberg Heidarsson <[email protected]>
Co-authored-by: Emily <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants