From c0502490360eb9700f34e29f5f72e1f8e6391b81 Mon Sep 17 00:00:00 2001 From: fmassot Date: Sat, 17 Feb 2024 17:33:58 +0100 Subject: [PATCH] Update otel helm tutorial. --- .../using-otel-collector-with-helm.md | 20 ++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/docs/log-management/send-logs/using-otel-collector-with-helm.md b/docs/log-management/send-logs/using-otel-collector-with-helm.md index 5b7894d58c5..8ce5f85ea94 100644 --- a/docs/log-management/send-logs/using-otel-collector-with-helm.md +++ b/docs/log-management/send-logs/using-otel-collector-with-helm.md @@ -86,11 +86,8 @@ config: # flavor: gcs # endpoint: https://storage.googleapis.com - # No metastore configuration. - # By default, metadata is stored on the local disk of the metastore instance. - # Everything will be lost after a metastore restart. - # If you want to have a metastore on S3, uncomment the following line. - # metastore_uri: ${DEFAULT_INDEX_ROOT_URI} + # Metastore on S3. + metastore_uri: ${DEFAULT_INDEX_ROOT_URI} default_index_root_uri: ${DEFAULT_INDEX_ROOT_URI} @@ -219,6 +216,19 @@ helm uninstall quickwit kubectl delete namespace qw-tutorial ``` +Finally, you need to delete three JSON files created by Quickwit on your object storage: + +```bash +# if your version <= 0.7.1 +aws s3 rm ${DEFAULT_INDEX_ROOT_URI}/indexes_states.json +# if your version > 0.7.1 +aws s3 rm ${DEFAULT_INDEX_ROOT_URI}/manifest.json +# the metastore file of the logs index +aws s3 rm ${DEFAULT_INDEX_ROOT_URI}/otel-logs-v0_7/metastore.json +# the metastore file of the traces index +aws s3 rm ${DEFAULT_INDEX_ROOT_URI}/otel-traces-v0_7/metastore.json +``` + ## Next step Follow our [tutorial](../../get-started/tutorials/trace-analytics-with-grafana.md) to install Quickwit Grafana plugin to explore your logs, create dashboards and alerts.