Access issue fixed. I could see rich amount of information or metrics to 
measure the cluster health.

However, am having difficult to interpretation or accuracy of the data.

For example:  am getting below value for etcd. I don’t believe etcd db size is 
0 in my prod cluster

# TYPE etcd_storage_db_total_size_in_bytes gauge
etcd_storage_db_total_size_in_bytes 0
similarly lot of metrics where I am interested to measure the health of cluster 
doesn’t make sense to me. Am I missing here anything or unable to 
interpretation properly?

--
Srinivas Kotaru

From: Srinivas Naga Kotaru <[email protected]>
Date: Thursday, February 23, 2017 at 3:47 PM
To: "[email protected]" <[email protected]>
Cc: dev <[email protected]>
Subject: Re: metrics

I have a cluster admin but unable to see in browser. OC get working fine.



{"kind": "Status","apiVersion": "v1","metadata": {},"status": 
"Failure","message": "User \"system:anonymous\" cannot \"get\" on 
\"/metrics\"","reason": "Forbidden","details": {},"code": 403}


is it expected?

I have a metrics collector which is using a cluster-reader service account. 
Which also getting same 403 error.

--
Srinivas Kotaru

From: Srinivas Naga Kotaru <[email protected]>
Date: Thursday, February 23, 2017 at 3:01 PM
To: "[email protected]" <[email protected]>
Cc: dev <[email protected]>
Subject: Re: metrics

Awesome … is the same metrics exposed by Prometheus as well? Am seeing 
Prometheus also exposing the same but less then oc get metrics. oc get metrics 
is giving more info.

Also, how to get metrics of kubelet?

--
Srinivas Kotaru

From: "[email protected]" <[email protected]>
Date: Thursday, February 23, 2017 at 2:33 PM
To: Srinivas Naga Kotaru <[email protected]>
Cc: dev <[email protected]>
Subject: Re: metrics

Resending to dev list.

On Thu, Feb 23, 2017 at 5:31 PM, Clayton Coleman 
<[email protected]<mailto:[email protected]>> wrote:
Yes, the apiserver, the controllers, and the nodes all expose metrics on their 
serving port.  The controllers listen on localhost only today.

You can view the api server metrics as a suitably privileged user with "oc get 
--raw /metrics", or use the appropriate credentials (treat it as an API call 
for the purpose of authentication).

On Thu, Feb 23, 2017 at 4:53 PM, Srinivas Naga Kotaru (skotaru) 
<[email protected]<mailto:[email protected]>> wrote:
Does API server expose any metrics like https://apiserver/metrics or any other 
form?


--
Srinivas Kotaru

_______________________________________________
dev mailing list
[email protected]<mailto:[email protected]>
http://lists.openshift.redhat.com/openshiftmm/listinfo/dev


_______________________________________________
dev mailing list
[email protected]
http://lists.openshift.redhat.com/openshiftmm/listinfo/dev

Reply via email to