Open lucalamalfa91 opened 1 month ago
Pinging code owners:
exporter/loki: @gramidt @jpkrohling @mar4uk
See Adding Labels via Comments if you do not have permissions to add labels yourself.
Hello, thank you for reporting the issue! I think the example directory should contain the config showing deprecated loki exporter usage, since it is loki exporter dedicated folder.
We already have an example of using otlphttp exporter instead of loki exporter in the README. We can add additional config with otlphttp exporter usage to the example directory so it has both variants: the old one and the new one. Would it be sufficient?
Component(s)
exporter/loki
Details
The current example for the Loki exporter in the otelcol-contrib repository is not outdated but will be deprecated from 2024 November 1. It uses the loki exporter with the following configuration:
Proposed Changes The example should be updated to reflect the new configuration using the otlphttp/loki exporter as follows:
This update is important because the new version of Loki (>= 3.0) supports the OTLP standard. By using the otlphttp/loki exporter, users can take advantage of the latest features and improvements in Loki, ensuring a more streamlined and effective logging experience. The current configuration will no longer be supported after November 1, making this update essential for users.