Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs feedback: TLS version confusion #2332

Open
petrzjunior opened this issue Jan 3, 2025 · 0 comments
Open

Docs feedback: TLS version confusion #2332

petrzjunior opened this issue Jan 3, 2025 · 0 comments
Labels
type/docs Docs Squad label across all Grafana Labs repos

Comments

@petrzjunior
Copy link

URL

https://grafana.com/docs/alloy/latest/reference/components/otelcol/otelcol.exporter.otlp/#tls-block

Feedback

While trying to configure TLS in otelcol.exporter.otlp, I found out that the documented min_version = "TLS 1.2" does not work:

level=error msg="failed to start scheduled component" component_path=/ component_id=otelcol.exporter.otlp.ops err="failed to load TLS config: invalid TLS min_version: unsupported TLS version: \"TLS 1.2\""

Using trial-and-error I found that the correct format is min_version = "1.2".

On the other hand in docs/sources/shared/reference/components/tls-config-block.md the format is documented as min_version = "TLS12".

I think that the TLS version should be formatted consistently among all the components and also properly documented given that this is a security feature.

@petrzjunior petrzjunior added the type/docs Docs Squad label across all Grafana Labs repos label Jan 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/docs Docs Squad label across all Grafana Labs repos
Projects
None yet
Development

No branches or pull requests

1 participant