camunda / camunda-platform-helm

Camunda Platform 8 Self-Managed Helm charts
https://docs.camunda.io/docs/self-managed/overview/
Apache License 2.0
71 stars 128 forks source link

[ENHANCEMENT] Make it easier to enable stackdriver logging #785

Open Zelldon opened 1 year ago

Zelldon commented 1 year ago

Describe the use case:

When running SM with GCP I want likely to get my logs logged in json format, such it is directly scrapped by stackdriver correctly and better searchable and viewable.

Describe the enhancement/feature:

This feature exist in all our applications, and we use it in SaaS. It needs to be configured via environment variables, which need to be found by the user to enable it.

Example for Zeebe benchmark where we use it: https://github.com/zeebe-io/benchmark-helm/blob/main/charts/zeebe-benchmark/values.yaml#L170-L177

Example for Operate in my recent tests:

https://github.com/camunda/zeebe/commit/4433dd9169d28ccfc2a0e2669b356e51824233ac

Desired outcome and acceptance tests:

I would like to have an flag on each component to enable easily such logging.

Example:


  operate:
    logging:
      stackdriver (or gcp):
       enabled: true

Alternative we could support a enum:


  operate:
    logging: stackdriver| other types

OR we some other option to easily turn on this feature.

aabouzaid commented 8 months ago

@Zelldon Do you know what other systems are supported? And what is the special need from Stackdriver more than just JSON output? (cannot it be just json)