Bug 1699045 - grpc-proxy: /metrics exposes metrics of proxy not etcd server endpoint.
Summary: grpc-proxy: /metrics exposes metrics of proxy not etcd server endpoint.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Etcd
Version: 4.1.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 4.1.0
Assignee: Sam Batschelet
QA Contact: ge liu
URL:
Whiteboard:
Depends On:
Blocks: 1670700
TreeView+ depends on / blocked
 
Reported: 2019-04-11 15:48 UTC by Sam Batschelet
Modified: 2019-04-16 23:46 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-04-16 23:46:08 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Sam Batschelet 2019-04-11 15:48:13 UTC
Description of problem: etcd proxy has handlers for /health and /metrics.


Version-Release number of selected component (if applicable): etcd 3.3.10


How reproducible: always


Steps to Reproduce:
1. curl etcd proxy /metrics endpoint.
2.
3.

Actual results: metrics returned from request are from proxy server, not the etcd server endpoint.


Expected results: metrics are from etcd server


Additional info:

Comment 1 Sam Batschelet 2019-04-11 15:51:36 UTC
Resolved upstream in master via https://github.com/etcd-io/etcd/pull/10618

Backport PR against release-3.3 is up once merged this will be backported downstream to openshift/etcd.

Comment 2 Sam Batschelet 2019-04-15 12:49:15 UTC
Cherry-pick has landed https://github.com/openshift/etcd/pull/6


Note You need to log in before you can comment on or make changes to this bug.