# Additional settings

```
## Disable monitoring 

get_healthz=1 

get_namespaces=1 

get_services=1 

get_components=1 

get_pods = 1 

get_nodes=1 

get_metrics=1 

## Additional Kubernetes metrics 

# Example: 

# Apiserver request latencies 

bucket=apiserver_request_latencies_bucket{component="apiserver",group="scheduling.k8s. io",resource="priorityclasses",scope="cluster",subresource="",verb="WATCH",version="v1 ",le="125000"} 

## Extra parameters 

#debug=0 
```

**get\_healthz**

<span style="font-weight: 400;">If it is set to "0", the "/</span>*<span style="font-weight: 400;">healthz</span>*<span style="font-weight: 400;">" API monitoring data will no longer be obtained. Its </span>

<span style="font-weight: 400;">default value if not specified is "1" (enabled). </span>

**get\_namespaces**

<span style="font-weight: 400;">If it is set to "0", the "</span>*<span style="font-weight: 400;">/api/v1/namespaces</span>*<span style="font-weight: 400;">" API monitoring data will no longer be </span>

<span style="font-weight: 400;">obtained. If not specified, its default value is "1" (enabled). </span>

**get\_services**

<span style="font-weight: 400;">If it is set to "0", the "</span>*<span style="font-weight: 400;">/api/v1/services</span>*<span style="font-weight: 400;">" API monitoring data will no longer be obtained. If not specified, its default value is "1" (enabled). </span>

**get\_components**

<span style="font-weight: 400;">If it is set to "0", the "</span>*<span style="font-weight: 400;">/api/v1/componentstatuses</span>*<span style="font-weight: 400;">" API monitoring data will no longer be obtained. If not specified, its default value is "1" (enabled). </span>

**get\_pods**

<span style="font-weight: 400;">If set to '0' "</span>*<span style="font-weight: 400;">/api/v1/pods</span>*<span style="font-weight: 400;">" and "</span>*<span style="font-weight: 400;">/apis/metrics.k8s.io/v1beta1/pods</span>*<span style="font-weight: 400;">" API monitoring data (if the "</span>*<span style="font-weight: 400;">metrics-server</span>*<span style="font-weight: 400;">" addon has been installed) will no longer be obtained. If not specified, its default value is "1" (enabled). </span>

**get\_nodes**

<span style="font-weight: 400;">If set to '0' "</span>*<span style="font-weight: 400;">/api/v1/nodes</span>*<span style="font-weight: 400;">" and "</span>*<span style="font-weight: 400;">/apis/metrics.k8s.io/v1beta1/nodes</span>*<span style="font-weight: 400;">" API monitoring data (if the "</span>*<span style="font-weight: 400;">metrics-server</span>*<span style="font-weight: 400;">" addon has been installed) will no longer be obtained. If not specified, its default value is "1" (enabled). </span>

**get\_deployments**

<span style="font-weight: 400;">If set to '0' "</span>*<span style="font-weight: 400;">/apis/extensions/v1beta1/deployments</span>*<span style="font-weight: 400;">" API monitoring data will no longer be obtained. If not specified, its default value is "1" (enabled). </span>

**discard\_agents**

<span style="font-weight: 400;">List of agents (separated by commas) to be discarded from plugin monitoring. They must be the names of the agents without the prefix indicated. </span>

**get\_metrics**

<span style="font-weight: 400;">If it is set to "0", the "</span>*<span style="font-weight: 400;">/metrics</span>*<span style="font-weight: 400;">" API monitoring data will no longer be obtained. If not specified, its default value is "1" (enabled). </span>

<span style="font-weight: 400;">These metrics must be specified in the configuration file with the following format: </span>**module name=metric**

<span style="font-weight: 400;">For example, if it is specified in the configuration file: </span>

**Apiserver request latencies**

```
bucket=apiserver_request_latencies_bucket{component="apiserver",group="scheduli ng.k8s.io",resource="priorityclasses",scope="cluster",subresource="",verb="WATCH", version="v1",le="125000"} 
```

<span style="font-weight: 400;">A module will be generated, which is called: </span>

*<span style="font-weight: 400;">Apiserver request latencies bucket </span>*

<span style="font-weight: 400;">with this metric value: </span>

*<span style="font-weight: 400;">apiserver\_request\_latencies\_bucket{component="apiserver",group="scheduling.k8s.io",resource= "priorityclasses",scope="cluster",subresource="",verb="WATCH",version="v1",le="125000"} </span>*

**debug**

<span style="font-weight: 400;">If it is set to "1", it will show detailed information about the actions that are carried out during the execution of the plugin. If not specified, its default value is "0" (disabled). </span>