-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
[x-pack][iis] capture extra .NET CLR metrics #41929
[x-pack][iis] capture extra .NET CLR metrics #41929
Conversation
This pull request does not have a backport label.
To fixup this pull request, you need to add the backport labels for the needed
|
|
@stefans-elastic - Can you update the data.json file with the sample document with the memory and locksandthreads data? |
done |
…/beats into extra_iis_dotnet_metrics
"net_clr.memory.gen_1_heap_size": "\\.NET CLR Memory(w3wp*)\\Gen 1 heap size", | ||
"net_clr.memory.gen_2_heap_size": "\\.NET CLR Memory(w3wp*)\\Gen 2 heap size", | ||
"net_clr.memory.large_object_heap_size": "\\.NET CLR Memory(w3wp*)\\Large Object Heap size", | ||
"net_clr.memory.time_in_gc_perc": "\\.NET CLR Memory(w3wp*)\\% Time in GC", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
time_in_gc_perc - What perc represents here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It means percentage
I followed example from
"process.cpu_usage_perc": "\\Process(w3wp*)\\% Processor Time",
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The naming convention for the percentage fields is something like, process.cpu_usage.pct
. As the other fields already have _perc
as a naming convention for percentage fields its better to align with the existing field name instead of introducing a different format for this field.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
so I should leave it as it is, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, The reason for not changing is to keep it consistent with the existing fields.
Co-authored-by: muthu-mps <101238137+muthu-mps@users.noreply.github.com>
@@ -9,7 +9,28 @@ | |||
"application_pool": { | |||
"name": "test.local", | |||
"net_clr": { | |||
"total_exceptions_thrown": 0 | |||
"total_exceptions_thrown": 0, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since we don't have the ASP.NET application setup to test the real metrics flow. This step will be done later by identifying a mechanism to test the actual metrics generated by running the .NET application.
Co-authored-by: muthu-mps <101238137+muthu-mps@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
* [x-pack][iis] capture extra .NET CLR metrics * update changelog * update docs * update docs * remove unused field * fix error handling * fix missing import * mage update changes * update docs * docs * update net_clr fields mapping * update docs * correct fields naming for backwards compatibility * doc update * Update CHANGELOG.next.asciidoc Co-authored-by: muthu-mps <101238137+muthu-mps@users.noreply.github.com> * Update x-pack/metricbeat/module/iis/application_pool/_meta/fields.yml Co-authored-by: muthu-mps <101238137+muthu-mps@users.noreply.github.com> * update iis fields * update docs --------- Co-authored-by: muthu-mps <101238137+muthu-mps@users.noreply.github.com> (cherry picked from commit d42aab1)
* [x-pack][iis] capture extra .NET CLR metrics * update changelog * update docs * update docs * remove unused field * fix error handling * fix missing import * mage update changes * update docs * docs * update net_clr fields mapping * update docs * correct fields naming for backwards compatibility * doc update * Update CHANGELOG.next.asciidoc Co-authored-by: muthu-mps <101238137+muthu-mps@users.noreply.github.com> * Update x-pack/metricbeat/module/iis/application_pool/_meta/fields.yml Co-authored-by: muthu-mps <101238137+muthu-mps@users.noreply.github.com> * update iis fields * update docs --------- Co-authored-by: muthu-mps <101238137+muthu-mps@users.noreply.github.com> (cherry picked from commit d42aab1) Co-authored-by: stefans-elastic <stefan.stas@elastic.co>
* [x-pack][iis] capture extra .NET CLR metrics * update changelog * update docs * update docs * remove unused field * fix error handling * fix missing import * mage update changes * update docs * docs * update net_clr fields mapping * update docs * correct fields naming for backwards compatibility * doc update * Update CHANGELOG.next.asciidoc Co-authored-by: muthu-mps <101238137+muthu-mps@users.noreply.github.com> * Update x-pack/metricbeat/module/iis/application_pool/_meta/fields.yml Co-authored-by: muthu-mps <101238137+muthu-mps@users.noreply.github.com> * update iis fields * update docs --------- Co-authored-by: muthu-mps <101238137+muthu-mps@users.noreply.github.com> (cherry picked from commit d42aab1)
…42334) * [x-pack][iis] capture extra .NET CLR metrics (#41929) * [x-pack][iis] capture extra .NET CLR metrics * update changelog * update docs * update docs * remove unused field * fix error handling * fix missing import * mage update changes * update docs * docs * update net_clr fields mapping * update docs * correct fields naming for backwards compatibility * doc update * Update CHANGELOG.next.asciidoc Co-authored-by: muthu-mps <101238137+muthu-mps@users.noreply.github.com> * Update x-pack/metricbeat/module/iis/application_pool/_meta/fields.yml Co-authored-by: muthu-mps <101238137+muthu-mps@users.noreply.github.com> * update iis fields * update docs --------- Co-authored-by: muthu-mps <101238137+muthu-mps@users.noreply.github.com> (cherry picked from commit d42aab1) * remove unrelated entries from changelog --------- Co-authored-by: stefans-elastic <stefan.stas@elastic.co> Co-authored-by: muthu-mps <101238137+muthu-mps@users.noreply.github.com>
Proposed commit message
This is part of elastic/integrations#7992 (exposing extra .NET ASP metrics in IIS metricbeat module(x-pack)).
!! IMPORTANT NOTE: the metrics don't show up if ASP.NET isn't installed
Checklist
CHANGELOG.next.asciidoc
orCHANGELOG-developer.next.asciidoc
.Disruptive User Impact
Author's Checklist
How to test this PR locally
Related issues
Relates elastic/integrations#7992
Use cases
Screenshots
Logs