Skip to content

Commit 4e85dc0

Browse files
committed
Update "user provided service" verbiage.
1 parent 5699a50 commit 4e85dc0

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

docs/framework-open_telemetry_javaagent.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,16 @@ Tags are printed to standard output by the buildpack detect script
2020

2121
## User-Provided Service
2222

23-
Users are currently expected to provide their own "custom user provided service" (cups)
24-
instance and bind it to their application. The service MUST contain the string `otel-collector`.
23+
Users are currently expected to `create-user-provided-service` (cups) of the collector
24+
and bind it to their application. The service MUST contain the string `otel-collector`.
25+
26+
For example, to create a service named `otel-collector` that represents an environment named `cf-demo`, you could use the following commands:
27+
28+
```
29+
$ cf cups otel-collector -p '{"otel.resource.attributes": "deployment.environment=cf-demo"}'
30+
$ cf bind-service myApp otel-collector
31+
$ cf restage myApp
32+
```
2533

2634
### Choosing a version
2735

docs/framework-splunk_otel_java_agent.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ Tags are printed to standard output by the buildpack detect script
2020

2121
## User-Provided Service
2222

23-
Users are currently expected to provide their own "custom user provided service" (cups)
24-
instance and bind it to their application. The service MUST contain the string `splunk-o11y`.
23+
Users are currently expected to `create-user-provided-service` (cups) of the collector
24+
and bind it to their application. The service MUST contain the string `splunk-o11y`.
2525

2626
For example, to create a service named `splunk-o11y` that represents Observability Cloud
2727
realm `us0` and represents a user environment named `cf-demo`, you could use the following

0 commit comments

Comments
 (0)