Alexandre Akio
Alexandre Akio

Reputation: 21

Is there a way to set other parameters in ballerina.observe or ballerinax.jaegger besides the documented?

There are just some documented parameters to configure Observability. In OpenTelemetry there are other parameters that can be set. For example, deployment.environment (https://opentelemetry.io/docs/specs/semconv/resource/deployment-environment/) This is one of the parameters I would like to configure. Ballerina allows us to set them?

I would like to set additional opentelemetry options from the observability configurations on Ballerina. I set the options documented on this link https://ballerina.io/learn/observe-tracing/

Upvotes: 1

Views: 69

Answers (1)

Nipuna Madhushan
Nipuna Madhushan

Reputation: 58

Thank you for mentioning the above use case. Currently we have a workaround to add a suffix to the service name as follows.

$ BAL_OBSERVE_SERVICE_NAME_SUFFIX=<suffix> bal run

As you mentioned about the configurations about Ballerina tracing, they are configured for tracing only. Configurations such as deployment environment will be configured for both tracing and metrics.

We have created an issue for this in the github. We will address this issue immediately and will try to include an improvement soon.

Upvotes: 0

Related Questions