jsonnet-libs
jsonnet-libs copied to clipboard
Grafana Labs' Jsonnet libraries
I needed to remove "id" from ceph-mixin/dashboards/ceph-cluster.json ```json { "annotations": { "list": [ { "builtIn": 1, "datasource": "-- Grafana --", "enable": true, "hide": true, "iconColor": "rgba(0, 211, 255, 1)", "name":...
Please help to run asterisk mixin. I did not find instructions in the description. I installed mixtool jsonnetfmt What to do with him next? How to connect it with asterisk?...
I try to remove one alert from a mixin with that code : ``` local removeAlerts = (import "mixin-utils/utils.libsonnet").removeAlerts; (import "squid-mixin/mixin.libsonnet") + (removeAlerts({alert: 'SquidLowCacheHitRatio'})) ``` In the result, it's appear...
Adds a mixin for Azure OpenAI metrics.
Looks like the RabbitMQNodeDown [expr](https://github.com/grafana/jsonnet-libs/blob/master/rabbitmq-mixin/alerts/clusterAlerts.yaml#L41) is always evaluated to true if you have at least 1 cluster running. It should probably be changed to ``` - expr: sum by (rabbitmq_cluster)...
`schemaVersion` is set to `14`, but latest schema is `38`. Current: https://github.com/grafana/jsonnet-libs/blob/ef364ae521bbb2304f23845e36182a908e295789/grafana-builder/grafana.libsonnet#L98 Latest: https://github.com/grafana/grafana/blob/6f880b713afcd83519d89c506609f31b6b7bc1df/public/app/features/dashboard/state/DashboardMigrator.ts#L817 The reason this would be helpful is that if the Alertmanager dashboard is created using Terraform...
A proposal for a packaging format for observability packages that is back-compatible with Jsonnet Mixins.
Kafka mixin has hardcoded job=integrations/kafka in all alerts Instead, it should have configurable kafkaSelector that can be injected into alerts (and dashboards too).