-
-
Notifications
You must be signed in to change notification settings - Fork 240
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
Addition of pcp2opentelemetry tool #1972
base: main
Are you sure you want to change the base?
Addition of pcp2opentelemetry tool #1972
Conversation
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.
@lmchilton nice work - couple comments inline - also, the packaging side of things is needed below build/rpm too.
@@ -2269,10 +2269,65 @@ QA output created by 1131 | |||
--- | |||
|
|||
|
|||
# HELP hinv_ncpu number of CPUs in the system | |||
# HELP hinv_ncpu b'number of CPUs in the system' |
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.
You need to upgrade your PCP python installation (./Makepkgs FTW) - this b'...' issue will be resolved then.
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.
@natoscott I upgraded the packages, ran configure and make and still the b' issue was still there when I re ran the test?
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.
Hmm, that is a mystery - its definitely fixed for me (and in CI). I wonder if somehow an older version of the python library is being found somewhere on your system, unexpectedly.
-e '/^Connection: keep-alive/d' \ | ||
-e '/ using stream socket$/d' | ||
} | ||
|
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 this pattern is repeated in three or four tests now, let's make a _filter_python_http_reponse shell function in one of the qa/common.xxx files and share it.
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.
@natoscott should this go in a specific common.xxx file or make a new one?
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.
@lmchilton lets put it in common.python
Supports translation of pcp metrics into open telemetry format. Supports opentelemetry protocol http json format. Updated relevent qa tests, as well as created a new one (1977) to test the tools http functionality. Added man page and makefile. Contains changes from review comments, including changes to spec and qa files.
dfab591
to
d94a4cc
Compare
Supports translation of pcp metrics into open telemetry format. Supports opentelemetry protocol http json format.
Updated relevent qa tests, as well as created a new one (1977) to test the tools http functionality.
Added man page and makefile.