-
Notifications
You must be signed in to change notification settings - Fork 336
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
feat(metrics): support OpenMetrics from applications #7103
Conversation
If mediatype is text/plain, return Prometheus text format without checking the version param. Signed-off-by: AyushSenapati <[email protected]>
If application supports openmetrics format, attempt to make envoy stats compatible with openmetrics format Signed-off-by: AyushSenapati <[email protected]>
Signed-off-by: AyushSenapati <[email protected]>
743fba9
to
b648f49
Compare
Signed-off-by: AyushSenapati <[email protected]>
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.
@AyushSenapati can you do me a favor and base this PR off the reverted commit? So the first commit would be a revert of the revert. A lot of the original PR still makes sense and it'd make it easier to review what's new since that PR.
@@ -342,6 +376,7 @@ func responseFormat(h http.Header) expfmt.Format { | |||
case textType: | |||
return expfmt.FmtText | |||
|
|||
// TODO: if version does not match or set, should we return FmtUnknown? |
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, we can expect the open metric format to have a version I think.
@AyushSenapati can we close this PR in favor of #7125 then? |
Checklist prior to review
closes: #7093
syscall.Mkfifo
have equivalent implementation on the other OS --UPGRADE.md
? --> Changelog:
entry here or add aci/
label to run fewer/more tests?