Skip to content

Commit 852cb80

Browse files
committed
add metrics config
1 parent a95016e commit 852cb80

File tree

1 file changed

+14
-0
lines changed
  • docs/build-your-software-catalog/sync-data-to-catalog/kubernetes-stack/kubernetes

1 file changed

+14
-0
lines changed

docs/build-your-software-catalog/sync-data-to-catalog/kubernetes-stack/kubernetes/advanced.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ The following advanced configuration parameters are available:
2828
{label: "Resync Interval", value: "resyncInterval"},
2929
{label: "State Key", value: "stateKey"},
3030
{label: "Logging Level", value: "logging"},
31+
{label: "Metrics", value: "metrics"},
3132
{label: "Bulk Sync", value: "bulkSync"},
3233
{label: "Event listener type", value: "eventListenerType"},
3334
{label: "CRDs to discover", value: "crdsToDiscover"},
@@ -93,6 +94,19 @@ The `loggingLevel` parameter is used to control the logging level of logs in K8s
9394

9495
</TabItem>
9596

97+
<TabItem value="metrics">
98+
99+
The `metricsEnabled` parameter is used to control if the k8s exporter would expose a `/metrics` endpoint compatible with OTLP.
100+
101+
- **Default value**: `true`
102+
103+
The `metricsPort` parameter is used to control the port number of the metrics server.
104+
105+
- **Default value**: `9090`
106+
- **Use case**: Set the value to other port if from some reason you cannot expose the metrics server on `9090`.
107+
108+
</TabItem>
109+
96110
<TabItem value="bulkSync">
97111

98112
The `bulkSyncMaxPayloadBytes` parameter is used to control the size (in bytes) of the upsert bulks to port.

0 commit comments

Comments
 (0)