https://signoz.io logo
Title
s

Shreyash

12/01/2022, 7:03 AM
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

Pranay

12/01/2022, 7:17 AM
@Prashant Shahi Do you have more insights on this?
p

Prashant Shahi

12/01/2022, 11:58 AM
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

Shreyash

12/01/2022, 12:01 PM
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.
kubectl edit configmap -n platform signoz-release-otel-collector -o yaml
p

Prashant Shahi

12/01/2022, 12:02 PM
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.