Skip to content

Commit 2348edf

Browse files
author
David O'Sullivan
committed
updates doc and adds packaging entry for new otel framework
1 parent 29cc897 commit 2348edf

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

config/packaging.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,10 @@ new_relic_agent:
151151
name: New Relic Agent
152152
release_notes: '[Release Notes](https://docs.newrelic.com/docs/release-notes/agent-release-notes/java-release-notes/)'
153153

154+
open_telemetry_javaagent:
155+
name: Open Telemetry Agent
156+
release_notes: '[Release Notes](https://github.com/open-telemetry/opentelemetry-java-instrumentation/releases)'
157+
154158
postgresql_jdbc:
155159
name: PostgreSQL JDBC Driver
156160
release_notes: '[ChangeLog](https://jdbc.postgresql.org/documentation/changelog.html)'

docs/framework-open_telemetry_javaagent.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,13 @@ and bind it to their application. The service MUST contain the string `otel-coll
2626
For example, to create a service named `otel-collector` that represents an environment named `cf-demo`, you could use the following commands:
2727

2828
```
29-
$ cf cups otel-collector -p '{"otel.resource.attributes": "deployment.environment=cf-demo"}'
29+
$ cf cups otel-collector -p '{"otel.exporter.otlp.endpoint" : "https://my-collector-endpoint", "otel.exporter.otlp.headers" : "authorization=Basic SOMEBAS64STRING","otel.exporter.otlp.protocol" : "grpc", "otel.traces.exporter" : "otlp", "otel.metrics.exporter" : "otlp", "otel.resource.attributes": "deployment.environment=cf-demo"}'
3030
$ cf bind-service myApp otel-collector
3131
$ cf restage myApp
3232
```
3333

34+
Additional configuration options for the Agent can be found [here](https://opentelemetry.io/docs/instrumentation/java/automatic/agent-config/#configuring-with-environment-variables)
35+
3436
### Choosing a version
3537

3638
Most users should skip this and simply use the latest version of the agent available (the default).

0 commit comments

Comments
 (0)