Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion example/docker-compose/grafana.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ services:
- MIMIR_ADDRESS=http://mimir:9009
- MIMIR_TENANT_ID=fake
volumes:
- ../operations/alloy-mixin:/etc/alloy-mixin
- ../../operations/alloy-mixin:/etc/alloy-mixin
working_dir: /etc/alloy-mixin
command: grr watch . ./grizzly.jsonnet

Expand Down
6 changes: 3 additions & 3 deletions operations/alloy-mixin/config.libsonnet
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
_config+:: {
enableK8sCluster: true,
enableAlloyCluster: true,
enableLokiLogs: true,
enableK8sCluster: true, # Whether to add a cluster template variable to all dashboards
enableAlloyCluster: true, # Whether to add Alloy clustering dashboards
enableLokiLogs: true,
filterSelector: '', #use it to filter specific metric label values, ie: job=~"integrations/alloy"
k8sClusterSelector: 'cluster=~"$cluster", namespace=~"$namespace"',
groupSelector: if self.enableK8sCluster then self.k8sClusterSelector + ', job=~"$job"' else 'job=~"$job"',
Expand Down
1 change: 1 addition & 0 deletions operations/alloy-mixin/dashboards.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
(import './dashboards/controller.libsonnet') +
(import './dashboards/prometheus.libsonnet') +
(import './dashboards/opentelemetry.libsonnet') +
(import './dashboards/otel-engine-overview.libsonnet') +
(import './dashboards/loki.libsonnet'),

grafanaDashboards+::
Expand Down
Loading
Loading