jenkinsci / opentelemetry-plugin

Monitor and observe Jenkins with OpenTelemetry.
https://plugins.jenkins.io/opentelemetry/
Apache License 2.0
97 stars 49 forks source link

Mirror logs into Elastic in an background like mode #839

Closed timmjd closed 3 months ago

timmjd commented 5 months ago

What feature do you want to see added?

Having an option to send send the logs towards an ElasitcSearch backend in the background - but do not modify the way how Jenkins stores an displays the logs locally.

The problem

If we use ElasticSearch as the main logging backend, Jenkins can not be operate without Elastic. By this Elastic is becoming a critical infrastructure - and if it's offline or crashed, the whole Jenkins infrastructure will not work anymore due to logs are not visible to the user.

Therefore, having the logs duplicated would be awesome:

Yes, the data would be duplicated - but this is totally fine

Upstream changes

No response

Are you interested in contributing this feature?

No response

kuisathaverat commented 3 months ago

the option already exists https://github.com/jenkinsci/opentelemetry-plugin/blob/main/docs/build-logs.md#can-build-logs-be-saved-in-the-build-folder-locally