-
Notifications
You must be signed in to change notification settings - Fork 204
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
Adding Statuscode Handler to Agent Health Extension #1423
Open
Paramadon
wants to merge
43
commits into
main
Choose a base branch
from
CodeHandler
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
43 commits
Select commit
Hold shift + click to select a range
2348639
fixing issue
Paramadon b7fac5e
trying to fix logs
Paramadon 45536b8
fixing issue
Paramadon 75b024a
adding debug statements (swapping logger with log.print)
Paramadon b41de09
adding more log statments
Paramadon 90a22a3
fixing tags
Paramadon 8c6d037
fixing logs
Paramadon 6ff99f8
fixing logs
Paramadon 667f608
adding a log
Paramadon 9de9448
fixing stats function for statuscodehandler
Paramadon 1e690e3
fixing issue
Paramadon 4c6adcf
making operation names shorter
Paramadon dc129c9
Last commit works to reduce name- this one is for filtering operation…
Paramadon 07a06fa
adding status code only filter
Paramadon 0f76726
removing status code from otel config
Paramadon 965ccdb
had to add return statments to filter
Paramadon a8268fd
commenting out try configure for ec2tagger
Paramadon 8ddb463
adding ecw client for ec2 tagger
Paramadon 3c15e81
changing the middleware to metricID
Paramadon 947b8f3
trying to get stat
Paramadon a76ef49
everything works just removing some debug statement and filter from h…
Paramadon abf484b
fixing filter issue
Paramadon c849f61
previous commit works, just cleaning up debug statemtns
Paramadon bd33dbc
adding unit tests
Paramadon 822680f
fixing test
Paramadon d547e1c
fixing unit tests
Paramadon 5dc40f4
running make fmt
Paramadon e5bf295
fixing unit tests
Paramadon e07463a
fixing tests
Paramadon a5ba52e
fixing yamls
Paramadon f3c8d46
fixing yamls
Paramadon f64b332
removing internal changes
Paramadon fa4c163
restoring files
Paramadon 457e48c
removing unnecessary file changes and passing unit test
Paramadon 2705e87
cleaning up code
Paramadon 3083626
fixing up pointer issue and passing in operations
Paramadon 9e40bd8
adding agent health to prometheus
Paramadon 5745ee6
resolving comments
Paramadon 6e0fdd3
resolving comments
Paramadon 8aee0d9
adding tests
Paramadon f344518
resolving comments
Paramadon a7e0415
resolving comments
Paramadon d91706d
adding tests
Paramadon File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
IMO status code stats should have to be enabled.
agenthealth/metrics
andagenthealth/traces
won't have any allowlisted operations, but are still going to have the handlers created and attached.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.
I agree with this and I changed it so that we would have to enable statuscodes