aws / aws-xray-java-agent

The official AWS X-Ray Auto Instrumentation Agent for Java.
Apache License 2.0
42 stars 18 forks source link

Dynamic name using only disco library #90

Closed sanghogu closed 3 years ago

sanghogu commented 3 years ago

I'm using disco for spring. Is it possible to specify the dynamic name of disco using YML profile properties or Java config?

Example Default Name : XRayInstrumentedService Dynamic Name : Production??

I couldn't find it. But it seemed like there was, so I asked a question

Thank you for checking.

willarmiros commented 3 years ago

Hi,

I'm assuming by "only disco library" you mean you're using the Disco agent bundled with the X-Ray plugin, which is what this repo distributes. You can change the default name via the agent config file, system property, or environment variable as described in the docs.

sanghogu commented 3 years ago

Oh I can't see the system properties!!!!! Thank you