diff --git a/docs/_include/general-shipping/k8s-all-data.md b/docs/_include/general-shipping/k8s-all-data.md index 69b7bde6..7fd223d0 100644 --- a/docs/_include/general-shipping/k8s-all-data.md +++ b/docs/_include/general-shipping/k8s-all-data.md @@ -8,7 +8,7 @@ Send all of your telemetry data using one single Helm chart: helm install -n monitoring --create-namespace \ --set logs.enabled=true \ --set logzio-logs-collector.secrets.logzioLogsToken="<>" \ ---set logzio-logs-collector.secrets.logzioRegion="<>" \ +--set logzio-logs-collector.secrets.logzioRegion="<>" \ --set logzio-logs-collector.secrets.env_id="<>" \ --set metricsOrTraces.enabled=true \ --set logzio-k8s-telemetry.metrics.enabled=true \ @@ -17,10 +17,10 @@ helm install -n monitoring --create-namespace \ --set logzio-k8s-telemetry.secrets.p8s_logzio_name="<>" \ --set logzio-k8s-telemetry.traces.enabled=true \ --set logzio-k8s-telemetry.secrets.TracesToken="<>" \ ---set logzio-k8s-telemetry.secrets.LogzioRegion="<>" \ +--set logzio-k8s-telemetry.secrets.LogzioRegion="<>" \ --set logzio-k8s-telemetry.spm.enabled=true \ --set logzio-k8s-telemetry.secrets.env_id="<>" \ ---set logzio-k8s-telemetry.secrets.SpmToken="<>" \ +--set logzio-k8s-telemetry.secrets.SpmToken="<>" \ --set logzio-k8s-telemetry.serviceGraph.enabled=true \ --set logzio-k8s-telemetry.k8sObjectsConfig.enabled=true \ --set logzio-k8s-telemetry.secrets.k8sObjectsLogsToken="<>" \ @@ -40,7 +40,18 @@ logzio-monitoring logzio-helm/logzio-monitoring | `<>` | Your [logs shipping token](https://app.logz.io/#/dashboard/settings/general). | | `<>` | Your account's [listener host](https://app.logz.io/#/dashboard/settings/manage-tokens/data-shipping?product=logs). | | `<>` | Your [metrics shipping token](https://app.logz.io/#/dashboard/settings/manage-tokens/data-shipping). | -| `<>` | Your [SPM account shipping token](https://app.logz.io/#/dashboard/settings/manage-tokens/data-shipping) | +| `<>` | Your [SPM account shipping token](https://app.logz.io/#/dashboard/settings/manage-tokens/data-shipping) | | `<>` | The name for your environment's identifier, to easily identify the telemetry data for each environment. | | `<>` | Your [traces shipping token](https://app.logz.io/#/dashboard/settings/manage-tokens/data-shipping). | -| `<>` | Your Logz.io [region code](https://docs.logz.io/docs/user-guide/admin/hosting-regions/account-region/#available-regions) | +| `<>` | Your Logz.io [region code](https://docs.logz.io/docs/user-guide/admin/hosting-regions/account-region/#available-regions) | + + +:::tip +To diable metrics when `metricsOrTraces.enabled=true`, make sure to include the below flags in the command: + +```shell +--set logzio-k8s-telemetry.nodeExporter.enabled=false \ +--set logzio-k8s-telemetry.kubeStateMetrics.enabled=false \ +--set logzio-k8s-telemetry.pushGateway.enabled=false \ +``` +::: \ No newline at end of file diff --git a/docs/_include/general-shipping/k8s.md b/docs/_include/general-shipping/k8s.md index ce0db084..ec5ea9c3 100644 --- a/docs/_include/general-shipping/k8s.md +++ b/docs/_include/general-shipping/k8s.md @@ -38,7 +38,7 @@ To send your logs, our chart`logzio-monitoring` offers two methods: helm install -n monitoring --create-namespace \ --set logs.enabled=true \ --set logzio-logs-collector.secrets.logzioLogsToken="<>" \ ---set logzio-logs-collector.secrets.logzioRegion="<>" \ +--set logzio-logs-collector.secrets.logzioRegion="<>" \ --set logzio-logs-collector.secrets.env_id="<>" \ logzio-monitoring logzio-helm/logzio-monitoring ``` @@ -200,8 +200,11 @@ helm install -n monitoring --create-namespace \ --set metricsOrTraces.enabled=true \ --set logzio-k8s-telemetry.traces.enabled=true \ --set logzio-k8s-telemetry.secrets.TracesToken="<>" \ ---set logzio-k8s-telemetry.secrets.LogzioRegion="<>" \ +--set logzio-k8s-telemetry.secrets.LogzioRegion="<>" \ --set logzio-k8s-telemetry.secrets.env_id="<>" \ +--set logzio-k8s-telemetry.nodeExporter.enabled=false \ +--set logzio-k8s-telemetry.kubeStateMetrics.enabled=false \ +--set logzio-k8s-telemetry.pushGateway.enabled=false \ logzio-monitoring logzio-helm/logzio-monitoring ``` @@ -212,10 +215,13 @@ helm install -n monitoring --create-namespace \ --set metricsOrTraces.enabled=true \ --set logzio-k8s-telemetry.traces.enabled=true \ --set logzio-k8s-telemetry.secrets.TracesToken="<>" \ ---set logzio-k8s-telemetry.secrets.LogzioRegion="<>" \ +--set logzio-k8s-telemetry.secrets.LogzioRegion="<>" \ --set logzio-k8s-telemetry.secrets.env_id="<>" \ --set logzio-k8s-telemetry.spm.enabled=true \ ---set logzio-k8s-telemetry.secrets.SpmToken=<> \ +--set logzio-k8s-telemetry.secrets.SpmToken="<>" \ +--set logzio-k8s-telemetry.nodeExporter.enabled=false \ +--set logzio-k8s-telemetry.kubeStateMetrics.enabled=false \ +--set logzio-k8s-telemetry.pushGateway.enabled=false \ logzio-monitoring logzio-helm/logzio-monitoring ``` @@ -233,8 +239,11 @@ helm install -n monitoring --create-namespace \ --set logzio-k8s-telemetry.secrets.LogzioRegion="<>" \ --set logzio-k8s-telemetry.secrets.env_id="<>" \ --set logzio-k8s-telemetry.spm.enabled=true \ ---set logzio-k8s-telemetry.secrets.SpmToken=<> \ +--set logzio-k8s-telemetry.secrets.SpmToken="<>" \ --set logzio-k8s-telemetry.serviceGraph.enabled=true \ +--set logzio-k8s-telemetry.nodeExporter.enabled=false \ +--set logzio-k8s-telemetry.kubeStateMetrics.enabled=false \ +--set logzio-k8s-telemetry.pushGateway.enabled=false \ logzio-monitoring logzio-helm/logzio-monitoring ```