I would like to be able to see the hostname in the APM UI so I set it in the environment variables using the folllowing: Environment.SetEnvironmentVariable("ELASTIC_APM_HOSTNAME", "somehostname");
Still, in the APM UI I only get the default machine hostname which in my cloud environment isn't really usefull.
Just to mention that 'SetEnvironmentVariable' works well for setting 'ELASTIC_APM_ENVIRONMENT' and 'ELASTIC_APM_SERVER_URLS'.
Any suggestion what may be wrong?
Thanks.
Kibana version:
7.12 Elasticsearch version:
7.12 APM Server version:
7.12 APM Agent language and version:
dotnet - Elastic.Apm.NetCoreAll 1.9.0
The agent should use the ELASTIC_APM_HOSTNAME environment variable value, but it looks like there is a bug in the agent; the property should be sent to APM server as configured_hostname rather than hostname, as it is currently sent.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.