[
https://issues.apache.org/jira/browse/KUDU-3685?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18074243#comment-18074243
]
ASF subversion and git services commented on KUDU-3685:
-------------------------------------------------------
Commit a0a7b25dbd0086f21b7ca5b04af93098bcc4d14b in kudu's branch
refs/heads/master from Marton Greber
[ https://gitbox.apache.org/repos/asf?p=kudu.git;h=a0a7b25db ]
KUDU-3685: add MiniPrometheus
MiniPrometheus is a thin wrapper around a real Prometheus subprocess
for use in integration tests. It supports static scrape targets
and HTTP service discovery, and exposes a minimal API surface
(GetTargets, WaitForActiveTargets, Query) sufficient to verify
end-to-end scraping and SD behavior.
The helper is intended to be used alongside InternalMiniCluster
to answer open questions raised in the Prometheus SD patch review
(https://gerrit.cloudera.org/#/c/21723/).
Change-Id: Icdc4d3e6ee6ab0bd89c20c21b75d4d8e6518993e
Reviewed-on: http://gerrit.cloudera.org:8080/24189
Reviewed-by: Gabriella Lotz <[email protected]>
Reviewed-by: Zoltan Chovan <[email protected]>
Tested-by: Marton Greber <[email protected]>
> Implement MiniPrometheus
> ------------------------
>
> Key: KUDU-3685
> URL: https://issues.apache.org/jira/browse/KUDU-3685
> Project: Kudu
> Issue Type: Sub-task
> Components: Prometheus
> Reporter: Marton Greber
> Assignee: Marton Greber
> Priority: Minor
>
> While working on https://gerrit.cloudera.org/#/c/21723/
> It turned out that it would be beneficial to not only test the service
> discovery endpoint in our current tests (eg master-test).
--
This message was sent by Atlassian Jira
(v8.20.10#820010)