dash0hq / otelbin

Web-based tool to facilitate OpenTelemetry collector configuration editing and verification
https://www.otelbin.io
Apache License 2.0
307 stars 13 forks source link

Config Tool Support for Helm YAML? #341

Open wsmoak01 opened 4 months ago

wsmoak01 commented 4 months ago

Great Tools, but would love to be able to paste or create a Helm Deployment YAML and get the same results as a *nix type Deployment

bripkens commented 4 months ago

@wsmoak01: Could you please provide me with an example to help me understand what type of "Helm Deployment YAML" you mean specifically?

FYI: The code for the paste handling is pretty trivial and located over here. If you want to, feel free to open a PR! :)

https://github.com/dash0hq/otelbin/blob/main/packages/otelbin/src/components/monaco-editor/parseYaml.ts#L241-L255

wsmoak01 commented 4 months ago

This inquiry is specifically related to the OTEL chart values.yaml validation.

wsmoak01 commented 4 months ago

I was testing with the OTEL demo chart example.

opentelemetry-helm-charts/charts/opentelemetry-demo/values.yaml at main · open-telemetry/opentelemetry-helm-charts (github.com)https://github.com/open-telemetry/opentelemetry-helm-charts/blob/main/charts/opentelemetry-demo/values.yaml

But I get the following, since it appears the parser does not know how to visualize the helm version of the configuration.

I figured it was just not supported yet, which prompted the inquiry. It would be a great feature addition.