cap-js / telemetry

CDS plugin providing observability features, incl. automatic OpenTelemetry instrumentation.
https://cap.cloud.sap/docs
Apache License 2.0
8 stars 7 forks source link

Cloud-logging failure due to missing credentials in Kyma telemetry module #194

Closed FarozanFarman closed 3 months ago

FarozanFarman commented 4 months ago

Hi Team,

Scenario: Golden Path - https://pages.github.tools.sap/cap/golden-path/bootstrap/introduction Tutorial: https://pages.github.tools.sap/cap/golden-path/deploy/to-k8s

Issue: The deployment is failing for incident-management-srv pod giving the error - image image image

Since, we are configuring via cls.yaml file, it should directly take the cluster credentials and no separate credentials are supposed to be added. These are the details: Environment: Name: OTEL_EXPORTER_OTLP_TRACES_ENDPOINT Value: http://telemetry-otlp-traces.kyma-system.svc.cluster.local:4317 Name: OTEL_EXPORTER_OTLP_METRICS_ENDPOINT Value: http://telemetry-otlp-metrics.kyma-system.svc.cluster.local:4317

Please look into the issue on priority since it is failing the scenario deployment.

Thanks and Regards, Farozan

sjvans commented 3 months ago

hi @FarozanFarman

Since, we are configuring via cls.yaml file

i'm not sure what you mean by that.

in any case, at runtime, the credentials must be at cds.env.requires.telemetry.credentials. please refer to cds.env for the different configuration options if the default lookup doesn't work for you.

best, sebastian