External metrics list

This page lists some of the metric types available from open-source projects and other external sources.

  • For a general explanation of the entries in the tables, including information about values like DELTA and GAUGE, see Metric types.

  • For information about statements of the form “Sampled every x seconds” and “After sampling, data is not visible for up to y seconds”, see Additional information: metadata.

  • For a set of complete, current lists of supported metric types, see Metrics list.

external.googleapis.com

Metrics sent to Workspaces with a metric type beginning external.googleapis.com are known as external metrics. The metrics are typically exported by open-source projects and third-party providers.

Stackdriver Monitoring treats external metrics the same as custom metrics, with one exception. For external metrics, a resource_type of global is invalid and results in the metric data being discarded.

External metric descriptors that are created but then not used for at least 6 weeks are subject to deletion.

prometheus

Metrics whose names begin external.googleapis.com/prometheus/ come from Prometheus, an open-source monitoring tool often used with Kubernetes. When you configure Prometheus with Stackdriver Kubernetes Engine Monitoring, metrics exported by Prometheus are converted to Stackdriver Monitoring metric types with simple metric descriptors, such as the following:

{
  "name": "projects/my-gcp-project/metricDescriptors/external.googleapis.com/prometheus/apiserver_client_certificate_expiration_seconds",
  "metricKind": "CUMULATIVE",
  "valueType": "DISTRIBUTION",
  "description": "Auto-created custom metric.",
  "type": "external.googleapis.com/prometheus/apiserver_client_certificate_expiration_seconds"
}

Other metrics

Metrics from other domains.

knative

Metrics from Knative. Launch stages of these metrics: BETA

The following metric type names must be prefixed with knative.dev/. That prefix has been omitted from the entries in the table.

Metric type
Display name
Kind, Type, Unit
Launch stage
Description
Labels
serving/activator/request_count
Activator Request Count
CUMULATIVEINT641
BETA
The number of requests that are routed to the activator. Sampled every 60 seconds.
response_code_class: One of '1xx', '2xx', '3xx', '4xx', or '5xx' according to response code of the request. If any other code is returned, it should be reported as '5xx'.
response_code: (INT64) Response code of the request according to protocol.
num_tries: (INT64) The number of tries (retry on 503s only) it takes to get a response from a reserve revision.
serving/activator/request_latencies
Activator Request Latencies
CUMULATIVEDISTRIBUTIONms
BETA
Distribution of service request times in milliseconds for requests that go through the activator. Value is the total time requests spent in activator and revision pods. Sampled every 60 seconds.
response_code_class: One of '1xx', '2xx', '3xx', '4xx', or '5xx' according to response code of the request. If any other code is returned, it should be reported as '5xx'.
response_code: (INT64) Response code of the request according to protocol.
serving/autoscaler/actual_pods
Actual Pod Count
GAUGEINT641
BETA
Number of pods that are allocated currently. Sampled every 60 seconds.
serving/autoscaler/desired_pods
Desired Pod Count
GAUGEINT641
BETA
Number of pods autoscaler wants to allocate. Sampled every 60 seconds.
serving/autoscaler/panic_mode
Panic Mode
GAUGEINT641
BETA
Set to 1 if autoscaler is in panic mode for the revision, otherwise 0. Sampled every 60 seconds.
serving/autoscaler/panic_request_concurrency
Observed Panic Concurrency
GAUGEDOUBLE1
BETA
Average requests concurrency observed per pod during the shorter panic autoscaling window. Sampled every 60 seconds.
serving/autoscaler/requested_pods
Requested Pod Count
GAUGEINT641
BETA
Number of pods autoscaler requested from Kubernetes. Sampled every 60 seconds.
serving/autoscaler/stable_request_concurrency
Observed Stable Concurrency
GAUGEDOUBLE1
BETA
Average requests concurrency observed per pod during the stable autoscaling window. Sampled every 60 seconds.
serving/autoscaler/target_concurrency_per_pod
Target Concurrency Per Pod
GAUGEDOUBLE1
BETA
The desired average requests concurrency per pod during the stable autoscaling window. Sampled every 60 seconds.
serving/revision/request_count
Request Count
CUMULATIVEINT641
BETA
The number of requests reaching the revision. Sampled every 60 seconds.
response_code_class: One of '1xx', '2xx', '3xx', '4xx', or '5xx' according to response code of the request. If any other code is returned, it should be reported as '5xx'.
response_code: (INT64) Response code of the request according to protocol.
serving/revision/request_latencies
Request Latencies
CUMULATIVEDISTRIBUTIONms
BETA
Distribution of service request times in milliseconds for requests reaching the revision. Value is the time requests spent in revision pods. Sampled every 60 seconds.
response_code_class: One of '1xx', '2xx', '3xx', '4xx', or '5xx' according to response code of the request. If any other code is returned, it should be reported as '5xx'.
response_code: (INT64) Response code of the request according to protocol.

netapp.com

Metrics from NetApp. Launch stages of these metrics: ALPHA

The following metric type names must be prefixed with netapp.com/. That prefix has been omitted from the entries in the table.

Metric type
Display name
Kind, Type, Unit
Launch stage
Description
Labels
cloudvolume/operation_count
Operations count
DELTAINT64count
ALPHA
Number of operations being performed on the cloud volume by the end users. Sampled every 60 seconds.
type: Type of utilization, either logical or snapshot.
cloudvolume/read_bytes_count
Bytes read
DELTAINT64By
ALPHA
I/O bytes from read operations by the end user. Sampled every 60 seconds.
cloudvolume/request_latencies
Volume IO operation latency
DELTADISTRIBUTIONms
ALPHA
Distribution of IO operation request latencies, in milliseconds. A measure of responsiveness of the volume. Sampled every 60 seconds.
method: NetApp Cloud Volume IO operation.
cloudvolume/volume_size
Volume space allocation
GAUGEINT64By
ALPHA
Space allocated to the volume, in bytes. A measure of the actual provisioned size of the volume. Sampled every 60 seconds.
cloudvolume/volume_usage
Volume space usage
GAUGEINT64By
ALPHA
Space utilized by the volume, in bytes. A measure of the actual size of the volume. Sampled every 60 seconds.
type: Type of usage, either logical or snapshot.
cloudvolume/write_bytes_count
Bytes written
DELTAINT64By
ALPHA
I/O bytes from write operations by the end user. Sampled every 60 seconds.

This metric data was last updated at 10/17/19 20:47:48 UTC.

此页内容是否有用?请给出您的反馈和评价:

发送以下问题的反馈:

此网页
Stackdriver Monitoring
需要帮助?请访问我们的支持页面