The agents are all OSS: mostly Apache2 licensed, a couple are BSD licensed. APM Server comes under a mixed Apache2/Elastic license (https://github.com/elastic/apm-server/blob/master/LICENSE.txt), but you don't need to use any proprietary features for the purpose of distributed tracing.
The APM UI, which is how distributed traces can be visualised, comes under the Basic license. It's free to use.
If you're only interested in seeing the database query latency in your distributed traces, then you do not need to install any Beats. The Java agent will capture JDBC query timings, and the Python agent will do the same for DB-API 2.0 clients.
I've integrated python with elastic apm. it works cool.
but suppose I've two scenarios
Scenario-1: I've hardcoded all the sql queries in my python code
Scenario-2: I'm maintaining a config file for queries and i'm importing the queries to my code
in both cases will elastic apm maintain the query latency ? do we need to follow any best practices in terms of coding .
APM is configured in Java as a jar. you can see it here
Now, How do I make sure the logs from java app are being sent to apm server and then to elasticsearch. I dont see any service related to java in kibana.
I'm not personally familiar with the spring-petclinic app. It could be that it's using an older version of the Java agent, which does not work with your version of the stack. The README for spring-petclinic says:
Other versions of the Elasticstack may work. Currently, only version 6.4.2 has been tested.
If that's still accurate, it implies an old version of the Java agent is being used, as the current version will not work with APM Server 6.4.2. In addition, APM Server 7.2.0 will not support those older (pre-GA) versions of the Java agent.
I don't know if that documentation is accurate though. I'd suggest opening new, more specific topic and perhaps someone else can chime in.
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.