Skip to content

Commit 5c2d759

Browse files
Remove deprecated tomcat.cache metrics
1 parent 3ef7e30 commit 5c2d759

3 files changed

Lines changed: 1 addition & 14 deletions

File tree

tomcat/changelog.d/16650.removed

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Remove deprecated `tomcat.cache` metrics

tomcat/datadog_checks/tomcat/data/metrics.yaml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -60,18 +60,6 @@ jmx_metrics:
6060
minTime:
6161
alias: tomcat.servlet.min_time
6262
metric_type: gauge
63-
- include:
64-
# Deprecated metric available in Tomcat 7
65-
# https://github.com/apache/tomcat/blob/7.0.x/java/org/apache/catalina/core/StandardContext.java#L5293-L5297
66-
domain_regex: Catalina|Tomcat
67-
type: Cache
68-
attribute:
69-
accessCount:
70-
alias: tomcat.cache.access_count
71-
metric_type: counter
72-
hitsCounts:
73-
alias: tomcat.cache.hits_count
74-
metric_type: counter
7563
- include:
7664
domain_regex: Catalina|Tomcat
7765
type: StringCache

tomcat/metadata.csv

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ tomcat.processing_time,gauge,10,,,The sum of request processing times across all
1313
tomcat.servlet.processing_time,gauge,10,,,The sum of request processing times across all requests to the servlet (in milliseconds) per second.,0,tomcat,servlet proc time,
1414
tomcat.servlet.error_count,gauge,10,error,second,The number of erroneous requests received by the servlet per second.,-1,tomcat,servlet err count,
1515
tomcat.servlet.request_count,gauge,10,request,second,The number of requests received by the servlet per second.,0,tomcat,servlet requests,
16-
tomcat.cache.access_count,gauge,10,get,second,The number of accesses to the cache per second.,0,tomcat,cache accesses,
17-
tomcat.cache.hits_count,gauge,10,hit,second,The number of cache hits per second.,0,tomcat,cache hits,
1816
tomcat.servlet.max_time,gauge,10,millisecond,,The maximum processing time of a request,0,tomcat,servlet max time,
1917
tomcat.servlet.min_time,gauge,10,millisecond,,The minimum processing time of a request,0,tomcat,servlet min time,
2018
tomcat.string_cache.access_count,gauge,10,get,second,The number of accesses to the string cache per second.,0,tomcat,string cache accesses,

0 commit comments

Comments
 (0)