APM Agent language and version: elastic-apm-node@4.7.0
Original install method (e.g. download page, yum, deb, from source, etc.) and version: apt/deb
Fresh install or upgraded from other version?: Fresh
Is there anything special in your setup?
Updated the ILM policy by creating traces-apm@custom component template
Description of the problem including expected versus actual behavior. Please include screenshots (if relevant):
We have 200+ APIs but not all are shown in the UI instead an entry comes as Remaining Transactions.
The docs said to reduce the cardinality of transaction names, but we don't add transaction names manually instead they are being captured by the default express instrumentation. Also, I am not able to find what these transactions are as I can't see the full url either.
When you say "We have 200+ APIs" ... do you mean you have 200+ separate endpoints on a single service? I.e., you have an Express app that has more than 200 separate routes?
This is a guess: are you using the usePathAsTransactionName configuration option with the Node.js APM agent? That can lead to transaction.name cardinality issues.
You should be able to search in "Discover" in Kibana for all transaction documents for your service. Select the "APM" index alias, search for service.name: "your-service-name" and processor.event: "transaction", and add the transaction.name column. E.g. here is me doing it for my small "example-trace-hapi" service:
Does that help get you further?
(If you have a support contract and are using Elastic Cloud, you could contact support, which would allow us -- with permission -- to look at your APM data to see if some issue sticks out.)
I checked discover for transaction names and I can see all of them, confirmed the total count of unique transactions in lens apart from some Unknow which I think I can debug from discover. Earlier I was not filtering for event type processor.event: "transaction", so was seeing entries without any names which had me little confused.
Is there any way to show to all transactions in Transaction view without the 200 limit?
Currently we are just trying out elastic with manual deployment. Will definitely checkout Elastic Cloud.
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.