mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-20 18:31:15 +00:00
59 lines
1.9 KiB
Go
59 lines
1.9 KiB
Go
/*
|
|
Copyright 2019 The Kubernetes Authors.
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
*/
|
|
|
|
package metrics
|
|
|
|
var interestingAPIServerMetrics = []string{
|
|
"apiserver_request_total",
|
|
"apiserver_request_latency_seconds",
|
|
"apiserver_init_events_total",
|
|
}
|
|
|
|
var interestingControllerManagerMetrics = []string{
|
|
"garbage_collector_attempt_to_delete_queue_latency",
|
|
"garbage_collector_attempt_to_delete_work_duration",
|
|
"garbage_collector_attempt_to_orphan_queue_latency",
|
|
"garbage_collector_attempt_to_orphan_work_duration",
|
|
"garbage_collector_dirty_processing_latency_microseconds",
|
|
"garbage_collector_event_processing_latency_microseconds",
|
|
"garbage_collector_graph_changes_queue_latency",
|
|
"garbage_collector_graph_changes_work_duration",
|
|
"garbage_collector_orphan_processing_latency_microseconds",
|
|
|
|
"namespace_queue_latency",
|
|
"namespace_queue_latency_sum",
|
|
"namespace_queue_latency_count",
|
|
"namespace_retries",
|
|
"namespace_work_duration",
|
|
"namespace_work_duration_sum",
|
|
"namespace_work_duration_count",
|
|
}
|
|
|
|
var interestingKubeletMetrics = []string{
|
|
"kubelet_docker_operations_errors_total",
|
|
"kubelet_docker_operations_duration_seconds",
|
|
"kubelet_pod_start_duration_seconds",
|
|
"kubelet_pod_start_sli_duration_seconds",
|
|
"kubelet_pod_worker_duration_seconds",
|
|
"kubelet_pod_worker_start_duration_seconds",
|
|
}
|
|
|
|
var interestingClusterAutoscalerMetrics = []string{
|
|
"function_duration_seconds",
|
|
"errors_total",
|
|
"evicted_pods_total",
|
|
}
|