Hi, I have setup a signoz kubernates cluster. I wa...
# support
s
Hi, I have setup a signoz kubernates cluster. I want to update my otel-collector-config. Do we have any documentation on that? I want to add some more dimensions in the config file.
p
@Prashant Shahi Do you have more insights on this?
p
Hey @Shreyash 👋 You can refer to the
values.yaml
for default otel-collector config and make changes as you find fit. https://github.com/SigNoz/charts/blob/main/charts/signoz/values.yaml
You can set custom config for OtelCollector and OtelCollector Metrics using
otelCollector.config
and
otelCollectorMetrics.config
respectively.
s
Sure thanks, I was also able to do it via the below command. I added the new dimensions required. I will also go through the suggested link.
Copy code
kubectl edit configmap -n platform signoz-release-otel-collector -o yaml
p
That would be ephemeral, and it will be overwritten upon your next
helm upgrade
.
It would be clean to maintain
override-values.yaml
which would be subset of
values.yaml
with updated values.