cluster: name: meta-monitoring-tutorial destinations: - name: loki type: loki url: http://loki-gateway.meta.svc.cluster.local/loki/api/v1/push clusterEvents: enabled: true collector: alloy-logs namespaces: [] nodeLogs: enabled: false podLogs: enabled: true gatherMethod: volumes collector: alloy-logs labelsToKeep: ["app_kubernetes_io_name", "container", "instance", "job", "level", "namespace", "service_name", "service_namespace", "deployment_environment", "deployment_environment_name", 'span_id', 'trace_id'] operators: - type: json_parser id: parse_json parse_from: body - type: add_labels labels: trace_id: ${body.trace_id} span_id: ${body.span_id} service_name: ${body.service_name} structuredMetadata: pod: pod # Set structured metadata "pod" from label "pod" namespaces: [] # Collectors alloy-singleton: enabled: false alloy-metrics: enabled: false nodeExporter: enabled: true kube-state-metrics: enabled: true nodeLogs: enabled: true kubeletMetrics: enabled: true cAdvisor: enabled: true dashboards: enabled: true alloy-logs: enabled: true alloy: mounts: varlog: true clustering: enabled: false alloy-profiles: enabled: false alloy-receiver: enabled: false