-
Notifications
You must be signed in to change notification settings - Fork 7
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
Kyma Runtime - "if (!credentials) throw new Error('No SAP Cloud Logging credentials found')" #238
Comments
when does this error occur? during best, |
Sure, if you don't add the package via |
I used |
@swaldmann thanks for letting me know that there's a draft PR for this. I have been using the older version of this plugin in Kyma runtime without any problem. With the newer version I am getting this error. This is basically a feature which was working and have stopped working now. One this note worthy is that for Kyma runtime, We bind the SAP Cloud Logging Service at the cluster level. https://github.com/SAP-samples/btp-developer-guide-cap/blob/main/documentation/observability/5-deploy-to-kyma.md |
which version is that? please keep in mind that everything before 1.0.0 was beta. best, |
In this case, will it not become little complex to cross consume the service from another namespace and bind it to the CAP application. Considering people would share single CLS instance for the whole cluster, even for workload deployed to the Cloud Foundry runtime making the CLS instance as single entry point for all the observability data. We can discuss this in detail over a call maybe.
Yes it was the initial release of telemetry plugin. |
Hi @sjvans, on Kubernetes you are usually running much more then just the single CAP container, think already of the html5-deployer or the approuter as just some examples even coming with the CAP helm chart already. From these containers you also want to get telemetry data and this is the focus of the Kyma telemetry module. It brings gateways to push data to, but also provides agents to collect data. This setup is already integrated with Cloud Logging via a service binding, and the CAP application can just push it's data to the OTLP gateway endpoints. So it will be an integration scenario with an OTLP-enabled backend. The direct binding to Cloud Logging is a valid scenario for Kubernetes as well, but maybe not the recommended. Also it will require to have serviceinstances for Cloud Logging defined per namespace, which all should reference a shared instance. What about keeping the Grüße, |
sure
we can definitely look into this. which exporter would be used in this scenario which which credentials? i find setting paths to keys and certificates in files via env vars rather clumsy... |
In this scenario the application will push to a cluster-local OTLP GRPC endpoint, and no credentials are required, similar to the local Jaeger setup.
People knowing the otel-sdk are aware of the harmonized env variables defined in the spec.
|
→ bli for credentials via env vars as for this issue: closing as "works as designed" (i.e., credentials via |
Corrected link from Sebastian: #243 |
With telemetry plugin version 1.0.1 using the command
cds add telemetry
throws exception'cds add telemetry' is not available for Kyma yet
.With the current version if i add the libraries manually
I am getting the following error:
For the Kyma runtime, since we don't bind application to the Cloud Logging instance and CLS is configured at the cluster level, Ideally the plugin should not be looking for SAP Cloud Logging credentials
The text was updated successfully, but these errors were encountered: