elastic / apm-agent-ios

Apache License 2.0
32 stars 19 forks source link

Add method to change Service Name in iOS Agent #231

Open rbarbishdrive opened 3 months ago

rbarbishdrive commented 3 months ago

We would like a configuration option to be able to change the Service Name from the iOS Native Agent as seen in Elastic Monitoring Services List. It should not be solely based on the app name since companies can have apps across many platforms with the same app name. The only distinguishing factor is the iOS icon in the Services List.

rbarbish commented 2 months ago

This can be closed, found how to do this.

kylemay-gridstone commented 2 months ago

This can be closed, found how to do this.

Can you elaborate on how you did this? I need to do the same, and change the environment that is sent too.

rbarbish commented 2 months ago

@kylemay-gridstone OTEL_RESOURCE_ATTRIBUTES https://opentelemetry.io/docs/specs/otel/resource/sdk/#specifying-resource-information-via-an-environment-variable deployment.environment=qwer,service.name=asdf User-Defined Setting