Commit 3f7d0ef
Enabled configuration of OTEL service name via environment variable
When running multiple functional instances of the SATP Gateway (one gateway for network 1, one gateway for network 2) you need for each instance a unique OTEL service name to keep logging, traces and metrics separated.
As per the documentation here:
https://opentelemetry.io/docs/specs/otel/configuration/sdk-environment-variables/#general-sdk-configuration
...I have used the standard environment variable OTEL_SERVICE_NAME to allow for this.
Signed-off-by: Robin Huiser <[email protected]>1 parent e7fd3ed commit 3f7d0ef
File tree
1 file changed
+1
-1
lines changed- packages/cactus-plugin-satp-hermes/src/main/typescript/services/monitoring
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
150 | | - | |
| 150 | + | |
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
| |||
0 commit comments