how to add x-scope-orgid in log instance file of grafana operator crd #5470
Unanswered
aryan-brane-1971
asked this question in
Q&A
Replies: 1 comment
-
Judging my the CRD here, this is in the form of https://grafana.com/docs/agent/latest/operator/api/#monitoring.grafana.com/v1alpha1.LogsClientSpec This is the default spec that the loki
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
apiVersion: monitoring.grafana.com/v1alpha1
kind: LogsInstance
metadata:
name: primary
namespace: observability
labels:
agent: grafana-agent-logs
spec:
clients:
externalLabels:
cluster: cloud
app: operator-crd
Supply an empty namespace selector to look in all namespaces. Remove
this to only look in the same namespace as the LogsInstance CR
podLogsNamespaceSelector: {}
podLogsSelector:
matchLabels:
instance: primary
Beta Was this translation helpful? Give feedback.
All reactions