Updating signoz to 0.17.0 - Adding k8s_cluster_name
TLDR Shravan upgraded to signoz 0.17.0 and noticed k8s_cluster_name as empty. Prashant explained that the cluster name configuration has moved to global scope and suggested setting it using
Mar 19, 2023 (9 months ago)
In logs i see k8s_cluster_name as empty
k8s_cluster_name was not there in 0.14.0
Mar 20, 2023 (9 months ago)
OTEL collector has these values
extract: metadata: - k8s.namespace.name - k8s.pod.name - k8s.pod.uid - k8s.pod.start_time - k8s.deployment.name - k8s.node.name
do i have to add cluster meta data here
So in each signoz-client signoz/k8sinfra override-values.yaml i have to set
Am i correct
global: clusterName: "stage" k8s-infra: presets: logCollection: # whether to enable log collection enabled: true blacklist: # whether to enable blacklisting enabled: true # which pods to exclude pods: my-app
Prashant is this correct
Indexed 1023 threads (61% resolved)
Extracting Custom Fields as Attributes from Log in SigNoz
Harald wants to have custom fields from their body parsed as attributes in the SigNoz logger. They have tried implementing suggestions from nitya-signoz and Prashant, but the issue remains unsolved due to a potential race condition encountered while executing the code. They have provided a full example using Kind for further assistance.
JSON Parsing Issue with Logs in Signoz
Androw had trouble parsing logs with JSON in Signoz. nitya-signoz suggested changes to config, which resolved the issue after Androw added the missing field 'logsCollection'.
Troubleshooting Signoz Deployment for Log Collection on OCI k8s Cluster
sudhanshu faces issues with log collection despite successful application performance monitoring after deploying Signoz on OCI k8s cluster. Prashant suggests updating paths used for log collection and verifying container logs on the nodes. Log files' paths seem correct, but issues persist. Further solutions are needed.
Resolving Cluster Name Issue in AWS EKS with SigNoz
Ajay had an issue with SigNoz not populating cluster names in AWS EKS. Srikanth and Prashant suggested settings in the values.yaml and `global.clusterName` respectively.
Troubleshooting K8s-infra Blacklist Issues
Saad reported a problem where unwanted logs from namespaces were still appearing. Prashant identified a typographical error with 'logCollection' needing to be 'logsCollection'.