We have a different elastic cluster for each environment – staging, production, etc. Only one Kibana instance is used to visualize data from these clusters using Spaces for the different environments. But the APM dashboard doesn't work out of the box and expect data to come from the apm-* index patterns. What we have configured is to search for *apm-* which worked and transactions are showing, but for some reasons, metrics(cpu, mem) don't show up. We have resorted to using another Kibana instance only for the APM at the moment.
Is there a way we can configure APM dashboard to catch metrics when using the *apm-* pattern.
Note: I'm not the person doing the server configuration, so it might take me some time to figure out all the details and test.
Are you not seeing the metrics tab, or is the content of the metrics tab not displayed? Do you see a blank page?
What kind of agent(s) are you inspecting? The RUM agent will not show the metrics tab initially, and from Kibana 7.5, the same will apply to the Java agent (which will display a JVMs tab).
How did you configure the APM UI to read from other indices? If via kibana.yml, you'll need to configure apm_oss.metricsIndices as well. I just noticed that we are not mentioning those in the documentation, we'll make sure to get that fixed. https://www.elastic.co/guide/en/kibana/current/apm-settings-kb.html
When I refer to APM dashboard I'm referring to the APM UI application inside Kibana. What is the appropriate name to refer to that from now on - APM UI?
The metrics tabs is present, there are metrics in the index, but the tab is not showing any data. If we switch to another Kibana instance, without Spaces and configured for that cluster, there is data.
I'm inspecting the Ruby 3.x agent and as I point in the previous point (2) there is data.
I'm pretty sure it's configured in the kibana.yml on the server to read from *apm-*. I will double check the configuration of apm_oss.metricsIndices and write back to you.
As a side question, I see the ruby agent report various metrics including GC and heap memory, but the metrics tab display only a general CPU and process MEM. Is there a way to see the more detailed messages from the ruby agent in the UI?
What is the appropriate name to refer to that from now on - APM UI?
Yes, we use APM UI. I can understand the confusion though
As a side question, I see the ruby agent report various metrics including GC and heap memory, but the metrics tab display only a general CPU and process MEM. Is there a way to see the more detailed messages from the ruby agent in the UI?
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.