diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2024-12-23 17:35:29 +0100 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2024-12-23 17:35:29 +0100 |
commit | e768b1675922e746f09828920b05d836a1cd365b (patch) | |
tree | 505560f6c972b802e94a4bff1ec2e3e641a37fda /terraform/hash-loki/loki-config.yaml | |
parent | 979ec08d3d35118f106559dc59c1961cd3534ba7 (diff) | |
download | infra-e768b1675922e746f09828920b05d836a1cd365b.tar.gz infra-e768b1675922e746f09828920b05d836a1cd365b.tar.bz2 infra-e768b1675922e746f09828920b05d836a1cd365b.tar.xz infra-e768b1675922e746f09828920b05d836a1cd365b.zip |
otelcol
Diffstat (limited to 'terraform/hash-loki/loki-config.yaml')
-rw-r--r-- | terraform/hash-loki/loki-config.yaml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/terraform/hash-loki/loki-config.yaml b/terraform/hash-loki/loki-config.yaml index d21d405..72e68b0 100644 --- a/terraform/hash-loki/loki-config.yaml +++ b/terraform/hash-loki/loki-config.yaml @@ -50,3 +50,24 @@ ruler: # If you would like to disable reporting, uncomment the following lines: analytics: reporting_enabled: false + +distributor: + otlp_config: + default_resource_attributes_as_index_labels: + - cloud.availability_zone + - cloud.region + - container.name + - deployment.environment + - k8s.cluster.name + - k8s.container.name + - k8s.cronjob.name + - k8s.daemonset.name + - k8s.deployment.name + - k8s.job.name + - k8s.namespace.name + - k8s.pod.name + - k8s.replicaset.name + - k8s.statefulset.name + - service.instance.id + - service.name + - service.namespace |