elastic / elastic/integrations

[Apache Tomcat]: GC metrics are not collected, when using not G1 GC

Open
#13,339 2 comments 0 reactions 0 assignees View on GitHub
Integration:apache_tomcat needs:triage Team:Obs-InfraObs
Dominant language
Handlebars
Stars
333
Forks
647
Avg merge
2d 17h
Merged PRs (30d)
225

Description

### Integration Name

Apache Tomcat [apache_tomcat]

### Dataset Name

apache_tomcat.memory

### Integration Version

1.8.3

### Agent Version

8.17.1

### Agent Output Type

elasticsearch

### Elasticsearch Version

8.17.1

### OS Version and Architecture

RHEL 8.9

### Software/API Version

Prometheus Exporter for Java 1.0.1

### Error Message

_No response_

### Event Original

_No response_

### What did you do?

We configured the Tomcat integration to scrape metrics from our Tomcat server that is running the exporter and use Z GC. Tomcat should support all available Java garbage collector types and should detect which one is used, by the metric names and use those metrics.

### What did you see?

We see no garbage collection metrics, as the ingest pipeline expects G1 GC.

### What did you expect to see?

We expect Tomcat integration to support all GC types of Java and display those metrics in the corresponding dashboard.

### Anything else?

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.