# Is apm tracing supported for Keycloak v20

**URL:** <https://discuss.elastic.co/t/is-apm-tracing-supported-for-keycloak-v20/341795>\
**Category:** APM\
**Tags:** java\
**Created:** [August 28, 2023, 9:37am UTC](https://discuss.elastic.co/t/is-apm-tracing-supported-for-keycloak-v20/341795 "2023-08-28T09:37:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Avinashk](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/avinashk/32/122260_2.png) [@Avinashk](https://discuss.elastic.co/u/Avinashk)\
**Post date:** [August 28, 2023, 9:37am UTC](https://discuss.elastic.co/t/is-apm-tracing-supported-for-keycloak-v20/341795/1 "2023-08-28T09:37:01Z")

</div>

**Kibana version** : 8.7.1

**Elasticsearch version** : 8.7.1

**APM Server version** : 8.7.1

**APM Agent language and version** : Java, 1.42.0

**Browser version** :

**Original install method (e.g. download page, yum, deb, from source, etc.) and version**:

**Fresh install or upgraded from other version?** Fresh install

**Is there anything special in your setup?** For example, are you using the Logstash or Kafka outputs? Are you using a load balancer in front of the APM Servers? Have you changed index pattern, generated custom templates, changed agent configuration etc.

**Description of the problem including expected versus actual behavior. Please include screenshots (if relevant)**:

**Steps to reproduce** :

1. Setup apm using java agent as below

```auto
-Delastic.apm.enabled=True -Delastic.apm.server_url=http://127.0.0.1:8203 
-Delastic.apm.span_min_duration=10ms -Delastic.apm.exit_span_min_duration=10ms 
-Delastic.apm.span_stack_trace_min_duration=500ms -Delastic.apm.use_elastic_traceparent_header=false   
-javaagent:/opt/apm/elastic-apm-agent-1.42.0.jar 
-Delastic.apm.service_name=keycloak

```

**Errors in browser console (if relevant)**:

**Provide logs and/or server output (if relevant)**:

Tried steps provided in below article: [Troubleshooting | APM Java Agent Reference [1.x] | Elastic](https://www.elastic.co/guide/en/apm/agent/java/current/trouble-shooting.html#trouble-shooting-logging-procedure)

Did not find any logs for the transactions executed. But could see logs for flushing of some events.

```auto
2023-08-28 09:10:21,277 [elastic-apm-server-reporter] DEBUG co.elastic.apm.agent.report.IntakeV2ReportingEventHandler - Request flush because the request timeout occurred
2023-08-28 09:10:21,277 [elastic-apm-server-reporter] DEBUG co.elastic.apm.agent.report.AbstractIntakeApiHandler - Flushing 0 uncompressed 3793 compressed bytes

```

It says it had sent some data to apm server, but do not find anything in apm tab in Kibana.  
Since keycloak uses quarkus framework, does elastic apm support apm tracing for it?

---

<div class="post-metadata">

**Author:** ![Jack\_Shirazi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jack_shirazi/32/91641_2.png) [@Jack\_Shirazi](https://discuss.elastic.co/u/Jack_Shirazi)\
**Post date:** [September 1, 2023, 10:58am UTC](https://discuss.elastic.co/t/is-apm-tracing-supported-for-keycloak-v20/341795/2 "2023-09-01T10:58:02Z")

</div>

Hi, our [supported technologies](https://www.elastic.co/guide/en/apm/agent/java/current/supported-technologies-details.html) don't include quarkus nor keycloak. You could use [trace\_methods](https://www.elastic.co/guide/en/apm/agent/java/current/config-core.html#config-trace-methods) to get transactions for the the features you are interested in

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [September 29, 2023, 10:58am UTC](https://discuss.elastic.co/t/is-apm-tracing-supported-for-keycloak-v20/341795/3 "2023-09-29T10:58:42Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
