Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add string cache and web cache metrics #6404

Merged
merged 10 commits into from
Apr 22, 2020
Merged

Conversation

AlexandreYang
Copy link
Member

@AlexandreYang AlexandreYang commented Apr 20, 2020

What does this PR do?

Add string cache and web cache metrics.

StringCache metrics might be useful to investigate performance cases like this one:

Motivation

type: Cache removed, it does not exist.

Additional Notes

Review checklist (to be filled by reviewers)

  • Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
  • PR title must be written as a CHANGELOG entry (see why)
  • Files changes must correspond to the primary purpose of the PR as described in the title (small unrelated changes should have their own PR)
  • PR must have changelog/ and integration/ labels attached

@AlexandreYang AlexandreYang marked this pull request as ready for review April 20, 2020 10:03
@AlexandreYang AlexandreYang requested a review from a team as a code owner April 20, 2020 10:03
name: Cache
attribute:
hitCount:
alias: tomcat.web.cache.hit_count
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
alias: tomcat.web.cache.hit_count
alias: tomcat.web_cache.hit_count

To be consistant with the string cache maybe?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think . is more suitable for this case since it's hierarchal. tomcat > web > cache.

In contrast StringCache is one specific class.

tomcat/metadata.csv Outdated Show resolved Hide resolved
tomcat/metadata.csv Outdated Show resolved Hide resolved
AlexandreYang and others added 2 commits April 20, 2020 15:41
Co-Authored-By: Florian Veaux <florian.veaux@datadoghq.com>
Co-Authored-By: Florian Veaux <florian.veaux@datadoghq.com>
@@ -7,13 +7,6 @@

HERE = get_here()

"""
Metrics that are not produced by our e2e tests:
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This comment has been replace by the new comment in metrics.yaml

@AlexandreYang AlexandreYang force-pushed the alex/tomcat_cache_metrics branch from eaf471e to 45d9e78 Compare April 20, 2020 14:49
@AlexandreYang AlexandreYang merged commit 1ce743b into master Apr 22, 2020
@AlexandreYang AlexandreYang deleted the alex/tomcat_cache_metrics branch April 22, 2020 09:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants