From 9687e3edc3be5bf2c02bc2b2c86f3fc791186d12 Mon Sep 17 00:00:00 2001 From: sususama <1023605039@qq.com> Date: Wed, 2 Oct 2024 13:31:12 +0800 Subject: [PATCH 1/7] add signoz doc --- .../modules/sort/log_reporting.md | 81 +++++++++++++++++++ 1 file changed, 81 insertions(+) create mode 100644 i18n/zh-CN/docusaurus-plugin-content-docs/version-1.13.0/modules/sort/log_reporting.md diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.13.0/modules/sort/log_reporting.md b/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.13.0/modules/sort/log_reporting.md new file mode 100644 index 00000000000..4ac2c40637b --- /dev/null +++ b/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.13.0/modules/sort/log_reporting.md @@ -0,0 +1,81 @@ +--- +title: 日志上报 +sidebar_position: 6 +--- + +## 概览 + +OpenTelemetry 是一个旨在为分布式系统提供统一的遥测数据收集、处理和导出解决方案。它包括一组用于跟踪、指标和日志记录的 API、库、代理和工具。OpenTelemetry 的目标是简化和标准化云原生应用程序和微服务架构中监控和可观测性的数据收集。 + +为了将 OpenTelemetry 中上报的日志进行可视化,这里给出两个方案: `SigNoz` 和 `Grafana Loki` + +## SigNoz + +首先在自己的电脑中下载 [SigNoz](https://github.com/SigNoz/signoz) 到本地 + +这里我们可以根据自己的需求,选择使用 InLong 还是 SigNoz项目中的 OpenTelemetry + +### SigNoz中的OpenTelemetry + +如果想要使用 SigNoz 中的 OpenTelemetry 则删除 InLong 项目的 `docker/docker-compose/docker-compose.yml` 中的 OpenTelemetry容器 + +随后在 SigNoz 项目中进入 `deploy` 目录,使用 + +```bash +docker-compose -f docker/clickhouse-setup/docker-compose.yaml up -d +``` + +将 SizNoz 启动起来 + +### InLong中的OpenTelemetry + +如果想要使用 InLong 中的 OpenTelemetry 容器,则删除 SigNoz 项目中 `docker/clickhouse-setup/docker-compose.yaml` 中 OpenTelemetry 相关的配置,并且将以下配置复制到 InLong 项目中的 `docker/docker-compose/docker-compose.yml` 中 + +```yaml + otel-collector: + image: signoz/signoz-otel-collector:0.102.8 + container_name: signoz-otel-collector + command: + [ + "--config=/etc/otel-collector-config.yaml", + "--manager-config=/etc/manager-config.yaml", + "--copy-path=/var/tmp/collector-config.yaml", + "--feature-gates=-pkg.translator.prometheus.NormalizeName" + ] + user: root # required for reading docker container logs + volumes: + - ./otel-collector-config.yaml:/etc/otel-collector-config.yaml + - ./otel-collector-opamp-config.yaml:/etc/manager-config.yaml + - /var/lib/docker/containers:/var/lib/docker/containers:ro + - /:/hostfs:ro + environment: + - OTEL_RESOURCE_ATTRIBUTES=host.name=signoz-host,os.type=linux + - DOCKER_MULTI_NODE_CLUSTER=false + - LOW_CARDINAL_EXCEPTION_GROUPING=false + ports: + # - "1777:1777" # pprof extension + - "4317:4317" # OTLP gRPC receiver + - "4318:4318" # OTLP HTTP receiver + # - "8888:8888" # OtelCollector internal metrics + # - "8889:8889" # signoz spanmetrics exposed by the agent + # - "9411:9411" # Zipkin port + # - "13133:13133" # health check extension + # - "14250:14250" # Jaeger gRPC + # - "14268:14268" # Jaeger thrift HTTP + # - "55678:55678" # OpenCensus receiver + # - "55679:55679" # zPages extension + restart: on-failure + depends_on: + clickhouse: + condition: service_healthy + otel-collector-migrator: + condition: service_completed_successfully + query-service: + condition: service_healthy + +``` +并将 SigNoz 中 `otel-collector-config.yaml` 和 `otel-collector-opamp-config.yaml` 文件放入 `docker/docker-compose`目录下,随后启动 SigNoz 和 InLong 即可 + +### 使用 + +SigNoz 的使用可以参考 [log explorer](https://signoz.io/docs/product-features/logs-explorer/) From 7192911d64d85140b773011fccd36c951d8d0230 Mon Sep 17 00:00:00 2001 From: sususama <1023605039@qq.com> Date: Wed, 2 Oct 2024 13:31:12 +0800 Subject: [PATCH 2/7] add signoz doc --- docs/modules/sort/log_reporting.md | 80 ++++++++++++++++++ .../modules/sort/log_reporting.md | 81 +++++++++++++++++++ 2 files changed, 161 insertions(+) create mode 100644 docs/modules/sort/log_reporting.md create mode 100644 i18n/zh-CN/docusaurus-plugin-content-docs/version-1.13.0/modules/sort/log_reporting.md diff --git a/docs/modules/sort/log_reporting.md b/docs/modules/sort/log_reporting.md new file mode 100644 index 00000000000..fa4c9a26bfc --- /dev/null +++ b/docs/modules/sort/log_reporting.md @@ -0,0 +1,80 @@ +--- +title: Log reporting +sidebar_position: 6 +--- + +## 概览 + +OpenTelemetry is a solution designed to provide a unified telemetry data collection, processing, and export solution for distributed systems. It includes a set of APIs, libraries, agents, and tools for tracing, metrics, and logging. The goal of OpenTelemetry is to simplify and standardize data collection for monitoring and observability in cloud-native applications and microservices architectures. + +In order to visualize the logs reported in OpenTelemetry, two solutions are given here: `SigNoz` and `Grafana Loki` + +## SigNoz + +First, download [SigNoz](https://github.com/SigNoz/signoz) to your local computer. + +Here we can choose to use InLong or OpenTelemetry in the SigNoz project according to our needs. + +### OpenTelemetry in SigNoz + +If you want to use OpenTelemetry in SigNoz, delete the OpenTelemetry container in the InLong project's `docker/docker-compose/docker-compose.yml` + +Then enter the `deploy` directory in the SigNoz project and use + +```bash +docker-compose -f docker/clickhouse-setup/docker-compose.yaml up -d +``` + +Start SizNoz + +### OpenTelemetry in InLong + +If you want to use the OpenTelemetry container in InLong, delete the OpenTelemetry-related configuration in `docker/clickhouse-setup/docker-compose.yaml` in the SigNoz project, and copy the following configuration to `docker/docker-compose/docker-compose.yml` in the InLong project +```yaml + otel-collector: + image: signoz/signoz-otel-collector:0.102.8 + container_name: signoz-otel-collector + command: + [ + "--config=/etc/otel-collector-config.yaml", + "--manager-config=/etc/manager-config.yaml", + "--copy-path=/var/tmp/collector-config.yaml", + "--feature-gates=-pkg.translator.prometheus.NormalizeName" + ] + user: root # required for reading docker container logs + volumes: + - ./otel-collector-config.yaml:/etc/otel-collector-config.yaml + - ./otel-collector-opamp-config.yaml:/etc/manager-config.yaml + - /var/lib/docker/containers:/var/lib/docker/containers:ro + - /:/hostfs:ro + environment: + - OTEL_RESOURCE_ATTRIBUTES=host.name=signoz-host,os.type=linux + - DOCKER_MULTI_NODE_CLUSTER=false + - LOW_CARDINAL_EXCEPTION_GROUPING=false + ports: + # - "1777:1777" # pprof extension + - "4317:4317" # OTLP gRPC receiver + - "4318:4318" # OTLP HTTP receiver + # - "8888:8888" # OtelCollector internal metrics + # - "8889:8889" # signoz spanmetrics exposed by the agent + # - "9411:9411" # Zipkin port + # - "13133:13133" # health check extension + # - "14250:14250" # Jaeger gRPC + # - "14268:14268" # Jaeger thrift HTTP + # - "55678:55678" # OpenCensus receiver + # - "55679:55679" # zPages extension + restart: on-failure + depends_on: + clickhouse: + condition: service_healthy + otel-collector-migrator: + condition: service_completed_successfully + query-service: + condition: service_healthy + +``` +And put the `otel-collector-config.yaml` and `otel-collector-opamp-config.yaml` files in SigNoz into the `docker/docker-compose` directory, then start SigNoz and InLong. + +### Usage + +For the usage of SigNoz, please refer to [log explorer](https://signoz.io/docs/product-features/logs-explorer/) diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.13.0/modules/sort/log_reporting.md b/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.13.0/modules/sort/log_reporting.md new file mode 100644 index 00000000000..4ac2c40637b --- /dev/null +++ b/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.13.0/modules/sort/log_reporting.md @@ -0,0 +1,81 @@ +--- +title: 日志上报 +sidebar_position: 6 +--- + +## 概览 + +OpenTelemetry 是一个旨在为分布式系统提供统一的遥测数据收集、处理和导出解决方案。它包括一组用于跟踪、指标和日志记录的 API、库、代理和工具。OpenTelemetry 的目标是简化和标准化云原生应用程序和微服务架构中监控和可观测性的数据收集。 + +为了将 OpenTelemetry 中上报的日志进行可视化,这里给出两个方案: `SigNoz` 和 `Grafana Loki` + +## SigNoz + +首先在自己的电脑中下载 [SigNoz](https://github.com/SigNoz/signoz) 到本地 + +这里我们可以根据自己的需求,选择使用 InLong 还是 SigNoz项目中的 OpenTelemetry + +### SigNoz中的OpenTelemetry + +如果想要使用 SigNoz 中的 OpenTelemetry 则删除 InLong 项目的 `docker/docker-compose/docker-compose.yml` 中的 OpenTelemetry容器 + +随后在 SigNoz 项目中进入 `deploy` 目录,使用 + +```bash +docker-compose -f docker/clickhouse-setup/docker-compose.yaml up -d +``` + +将 SizNoz 启动起来 + +### InLong中的OpenTelemetry + +如果想要使用 InLong 中的 OpenTelemetry 容器,则删除 SigNoz 项目中 `docker/clickhouse-setup/docker-compose.yaml` 中 OpenTelemetry 相关的配置,并且将以下配置复制到 InLong 项目中的 `docker/docker-compose/docker-compose.yml` 中 + +```yaml + otel-collector: + image: signoz/signoz-otel-collector:0.102.8 + container_name: signoz-otel-collector + command: + [ + "--config=/etc/otel-collector-config.yaml", + "--manager-config=/etc/manager-config.yaml", + "--copy-path=/var/tmp/collector-config.yaml", + "--feature-gates=-pkg.translator.prometheus.NormalizeName" + ] + user: root # required for reading docker container logs + volumes: + - ./otel-collector-config.yaml:/etc/otel-collector-config.yaml + - ./otel-collector-opamp-config.yaml:/etc/manager-config.yaml + - /var/lib/docker/containers:/var/lib/docker/containers:ro + - /:/hostfs:ro + environment: + - OTEL_RESOURCE_ATTRIBUTES=host.name=signoz-host,os.type=linux + - DOCKER_MULTI_NODE_CLUSTER=false + - LOW_CARDINAL_EXCEPTION_GROUPING=false + ports: + # - "1777:1777" # pprof extension + - "4317:4317" # OTLP gRPC receiver + - "4318:4318" # OTLP HTTP receiver + # - "8888:8888" # OtelCollector internal metrics + # - "8889:8889" # signoz spanmetrics exposed by the agent + # - "9411:9411" # Zipkin port + # - "13133:13133" # health check extension + # - "14250:14250" # Jaeger gRPC + # - "14268:14268" # Jaeger thrift HTTP + # - "55678:55678" # OpenCensus receiver + # - "55679:55679" # zPages extension + restart: on-failure + depends_on: + clickhouse: + condition: service_healthy + otel-collector-migrator: + condition: service_completed_successfully + query-service: + condition: service_healthy + +``` +并将 SigNoz 中 `otel-collector-config.yaml` 和 `otel-collector-opamp-config.yaml` 文件放入 `docker/docker-compose`目录下,随后启动 SigNoz 和 InLong 即可 + +### 使用 + +SigNoz 的使用可以参考 [log explorer](https://signoz.io/docs/product-features/logs-explorer/) From b56a525b4633b1278ce657cc456e44b9f5e59861 Mon Sep 17 00:00:00 2001 From: sususama <1023605039@qq.com> Date: Wed, 9 Oct 2024 20:44:34 +0800 Subject: [PATCH 3/7] add signoz doc --- .../{version-1.13.0 => current}/modules/sort/log_reporting.md | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename i18n/zh-CN/docusaurus-plugin-content-docs/{version-1.13.0 => current}/modules/sort/log_reporting.md (100%) diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.13.0/modules/sort/log_reporting.md b/i18n/zh-CN/docusaurus-plugin-content-docs/current/modules/sort/log_reporting.md similarity index 100% rename from i18n/zh-CN/docusaurus-plugin-content-docs/version-1.13.0/modules/sort/log_reporting.md rename to i18n/zh-CN/docusaurus-plugin-content-docs/current/modules/sort/log_reporting.md From 0879c69f43c61f56f374e9d05b2318b17436f105 Mon Sep 17 00:00:00 2001 From: sususama <1023605039@qq.com> Date: Wed, 9 Oct 2024 20:44:34 +0800 Subject: [PATCH 4/7] Modify SigNoz doc --- docs/modules/sort/log_reporting.md | 4 ++-- .../{version-1.13.0 => current}/modules/sort/log_reporting.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) rename i18n/zh-CN/docusaurus-plugin-content-docs/{version-1.13.0 => current}/modules/sort/log_reporting.md (98%) diff --git a/docs/modules/sort/log_reporting.md b/docs/modules/sort/log_reporting.md index fa4c9a26bfc..9e8a38c7f14 100644 --- a/docs/modules/sort/log_reporting.md +++ b/docs/modules/sort/log_reporting.md @@ -1,9 +1,9 @@ --- -title: Log reporting +title: OpenTelemetry log reporting sidebar_position: 6 --- -## 概览 +## Overview OpenTelemetry is a solution designed to provide a unified telemetry data collection, processing, and export solution for distributed systems. It includes a set of APIs, libraries, agents, and tools for tracing, metrics, and logging. The goal of OpenTelemetry is to simplify and standardize data collection for monitoring and observability in cloud-native applications and microservices architectures. diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.13.0/modules/sort/log_reporting.md b/i18n/zh-CN/docusaurus-plugin-content-docs/current/modules/sort/log_reporting.md similarity index 98% rename from i18n/zh-CN/docusaurus-plugin-content-docs/version-1.13.0/modules/sort/log_reporting.md rename to i18n/zh-CN/docusaurus-plugin-content-docs/current/modules/sort/log_reporting.md index 4ac2c40637b..310ccd6fe87 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.13.0/modules/sort/log_reporting.md +++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/modules/sort/log_reporting.md @@ -1,5 +1,5 @@ --- -title: 日志上报 +title: OpenTelemetry 日志上报 sidebar_position: 6 --- From a3927f3306a092ff50e54382b7bdd3d8d886ca66 Mon Sep 17 00:00:00 2001 From: sususama <1023605039@qq.com> Date: Tue, 15 Oct 2024 19:47:05 +0800 Subject: [PATCH 5/7] Modify SigNoz doc --- .../current/modules/sort/log_reporting.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/current/modules/sort/log_reporting.md b/i18n/zh-CN/docusaurus-plugin-content-docs/current/modules/sort/log_reporting.md index 310ccd6fe87..8bc4d66ed2e 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-docs/current/modules/sort/log_reporting.md +++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/modules/sort/log_reporting.md @@ -13,7 +13,7 @@ OpenTelemetry 是一个旨在为分布式系统提供统一的遥测数据收集 首先在自己的电脑中下载 [SigNoz](https://github.com/SigNoz/signoz) 到本地 -这里我们可以根据自己的需求,选择使用 InLong 还是 SigNoz项目中的 OpenTelemetry +这里我们可以根据自己的需求,选择使用 InLong 还是 SigNoz 项目中的 OpenTelemetry ### SigNoz中的OpenTelemetry From f214305b4d4af42ca16bdff43246d5d3bfef7767 Mon Sep 17 00:00:00 2001 From: sususama <1023605039@qq.com> Date: Tue, 15 Oct 2024 19:47:05 +0800 Subject: [PATCH 6/7] Modify SigNoz doc --- docs/modules/sort/log_reporting.md | 71 +++---------------- .../current/modules/sort/log_reporting.md | 70 +++--------------- 2 files changed, 17 insertions(+), 124 deletions(-) diff --git a/docs/modules/sort/log_reporting.md b/docs/modules/sort/log_reporting.md index 9e8a38c7f14..a3a2d074bd8 100644 --- a/docs/modules/sort/log_reporting.md +++ b/docs/modules/sort/log_reporting.md @@ -5,76 +5,23 @@ sidebar_position: 6 ## Overview -OpenTelemetry is a solution designed to provide a unified telemetry data collection, processing, and export solution for distributed systems. It includes a set of APIs, libraries, agents, and tools for tracing, metrics, and logging. The goal of OpenTelemetry is to simplify and standardize data collection for monitoring and observability in cloud-native applications and microservices architectures. +OpenTelemetry is a solution designed to provide a unified telemetry data collection, processing, and export solution for distributed systems. It includes a set of APIs, libraries, agents, and tools for tracing, metrics, and logging. The goal of OpenTelemetry is to simplify and standardize the data collection for monitoring and observability in cloud-native applications and microservice architectures. -In order to visualize the logs reported in OpenTelemetry, two solutions are given here: `SigNoz` and `Grafana Loki` +In order to visualize the logs reported in OpenTelemetry, two solutions are given here: `SigNoz` and `Grafana Loki`. Here we mainly introduce how to use `SigNoz` for log reporting ## SigNoz -First, download [SigNoz](https://github.com/SigNoz/signoz) to your local computer. +SigNoz is an open source APM and observability platform that helps you collect, store, and visualize telemetry data for your applications. SigNoz provides a wealth of features, including tracing, metrics, logging, and distributed tracing. -Here we can choose to use InLong or OpenTelemetry in the SigNoz project according to our needs. +### Installation of SigNoz -### OpenTelemetry in SigNoz - -If you want to use OpenTelemetry in SigNoz, delete the OpenTelemetry container in the InLong project's `docker/docker-compose/docker-compose.yml` - -Then enter the `deploy` directory in the SigNoz project and use +You can start InLong and SigNoz with one click using the following command ```bash -docker-compose -f docker/clickhouse-setup/docker-compose.yaml up -d -``` - -Start SizNoz - -### OpenTelemetry in InLong - -If you want to use the OpenTelemetry container in InLong, delete the OpenTelemetry-related configuration in `docker/clickhouse-setup/docker-compose.yaml` in the SigNoz project, and copy the following configuration to `docker/docker-compose/docker-compose.yml` in the InLong project -```yaml - otel-collector: - image: signoz/signoz-otel-collector:0.102.8 - container_name: signoz-otel-collector - command: - [ - "--config=/etc/otel-collector-config.yaml", - "--manager-config=/etc/manager-config.yaml", - "--copy-path=/var/tmp/collector-config.yaml", - "--feature-gates=-pkg.translator.prometheus.NormalizeName" - ] - user: root # required for reading docker container logs - volumes: - - ./otel-collector-config.yaml:/etc/otel-collector-config.yaml - - ./otel-collector-opamp-config.yaml:/etc/manager-config.yaml - - /var/lib/docker/containers:/var/lib/docker/containers:ro - - /:/hostfs:ro - environment: - - OTEL_RESOURCE_ATTRIBUTES=host.name=signoz-host,os.type=linux - - DOCKER_MULTI_NODE_CLUSTER=false - - LOW_CARDINAL_EXCEPTION_GROUPING=false - ports: - # - "1777:1777" # pprof extension - - "4317:4317" # OTLP gRPC receiver - - "4318:4318" # OTLP HTTP receiver - # - "8888:8888" # OtelCollector internal metrics - # - "8889:8889" # signoz spanmetrics exposed by the agent - # - "9411:9411" # Zipkin port - # - "13133:13133" # health check extension - # - "14250:14250" # Jaeger gRPC - # - "14268:14268" # Jaeger thrift HTTP - # - "55678:55678" # OpenCensus receiver - # - "55679:55679" # zPages extension - restart: on-failure - depends_on: - clickhouse: - condition: service_healthy - otel-collector-migrator: - condition: service_completed_successfully - query-service: - condition: service_healthy - +cd ./docker/docker-compose +docker-compose -f docker-compose.yml -f log-system\signoz\clickhouse-setup\docker-compose.yaml up -d ``` -And put the `otel-collector-config.yaml` and `otel-collector-opamp-config.yaml` files in SigNoz into the `docker/docker-compose` directory, then start SigNoz and InLong. -### Usage +## Use of SigNoz -For the usage of SigNoz, please refer to [log explorer](https://signoz.io/docs/product-features/logs-explorer/) +For the use of SigNoz, please refer to [log explorer](https://signoz.io/docs/product-features/logs-explorer/) \ No newline at end of file diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/current/modules/sort/log_reporting.md b/i18n/zh-CN/docusaurus-plugin-content-docs/current/modules/sort/log_reporting.md index 310ccd6fe87..5993ec950b1 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-docs/current/modules/sort/log_reporting.md +++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/modules/sort/log_reporting.md @@ -7,75 +7,21 @@ sidebar_position: 6 OpenTelemetry 是一个旨在为分布式系统提供统一的遥测数据收集、处理和导出解决方案。它包括一组用于跟踪、指标和日志记录的 API、库、代理和工具。OpenTelemetry 的目标是简化和标准化云原生应用程序和微服务架构中监控和可观测性的数据收集。 -为了将 OpenTelemetry 中上报的日志进行可视化,这里给出两个方案: `SigNoz` 和 `Grafana Loki` +为了将 OpenTelemetry 中上报的日志进行可视化,这里给出两个方案: `SigNoz` 和 `Grafana Loki` ,这里主要介绍如何使用 `SigNoz` 进行日志上报 -## SigNoz +## SigNoz -首先在自己的电脑中下载 [SigNoz](https://github.com/SigNoz/signoz) 到本地 +SigNoz 是一个开源的 APM 和可观测性平台,它可以帮助你收集、存储和可视化你的应用程序的遥测数据。SigNoz 提供了丰富的功能,包括跟踪、指标、日志记录和分布式追踪等。 -这里我们可以根据自己的需求,选择使用 InLong 还是 SigNoz项目中的 OpenTelemetry +### SigNoz 的安装 -### SigNoz中的OpenTelemetry - -如果想要使用 SigNoz 中的 OpenTelemetry 则删除 InLong 项目的 `docker/docker-compose/docker-compose.yml` 中的 OpenTelemetry容器 - -随后在 SigNoz 项目中进入 `deploy` 目录,使用 +你可以通过以下命令来一键启动 InLong 和 SigNoz ```bash -docker-compose -f docker/clickhouse-setup/docker-compose.yaml up -d -``` - -将 SizNoz 启动起来 - -### InLong中的OpenTelemetry - -如果想要使用 InLong 中的 OpenTelemetry 容器,则删除 SigNoz 项目中 `docker/clickhouse-setup/docker-compose.yaml` 中 OpenTelemetry 相关的配置,并且将以下配置复制到 InLong 项目中的 `docker/docker-compose/docker-compose.yml` 中 - -```yaml - otel-collector: - image: signoz/signoz-otel-collector:0.102.8 - container_name: signoz-otel-collector - command: - [ - "--config=/etc/otel-collector-config.yaml", - "--manager-config=/etc/manager-config.yaml", - "--copy-path=/var/tmp/collector-config.yaml", - "--feature-gates=-pkg.translator.prometheus.NormalizeName" - ] - user: root # required for reading docker container logs - volumes: - - ./otel-collector-config.yaml:/etc/otel-collector-config.yaml - - ./otel-collector-opamp-config.yaml:/etc/manager-config.yaml - - /var/lib/docker/containers:/var/lib/docker/containers:ro - - /:/hostfs:ro - environment: - - OTEL_RESOURCE_ATTRIBUTES=host.name=signoz-host,os.type=linux - - DOCKER_MULTI_NODE_CLUSTER=false - - LOW_CARDINAL_EXCEPTION_GROUPING=false - ports: - # - "1777:1777" # pprof extension - - "4317:4317" # OTLP gRPC receiver - - "4318:4318" # OTLP HTTP receiver - # - "8888:8888" # OtelCollector internal metrics - # - "8889:8889" # signoz spanmetrics exposed by the agent - # - "9411:9411" # Zipkin port - # - "13133:13133" # health check extension - # - "14250:14250" # Jaeger gRPC - # - "14268:14268" # Jaeger thrift HTTP - # - "55678:55678" # OpenCensus receiver - # - "55679:55679" # zPages extension - restart: on-failure - depends_on: - clickhouse: - condition: service_healthy - otel-collector-migrator: - condition: service_completed_successfully - query-service: - condition: service_healthy - +cd ./docker/docker-compose +docker-compose -f docker-compose.yml -f log-system\signoz\clickhouse-setup\docker-compose.yaml up -d ``` -并将 SigNoz 中 `otel-collector-config.yaml` 和 `otel-collector-opamp-config.yaml` 文件放入 `docker/docker-compose`目录下,随后启动 SigNoz 和 InLong 即可 -### 使用 +## SigNoz 的使用 SigNoz 的使用可以参考 [log explorer](https://signoz.io/docs/product-features/logs-explorer/) From 52589ada117171851ae5993f47905d900b786bee Mon Sep 17 00:00:00 2001 From: sususama <1023605039@qq.com> Date: Thu, 17 Oct 2024 12:36:06 +0800 Subject: [PATCH 7/7] Modify SigNoz doc --- docs/modules/sort/log_reporting.md | 4 +++- .../current/modules/sort/log_reporting.md | 6 ++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/docs/modules/sort/log_reporting.md b/docs/modules/sort/log_reporting.md index a3a2d074bd8..30cbfd15b2a 100644 --- a/docs/modules/sort/log_reporting.md +++ b/docs/modules/sort/log_reporting.md @@ -19,7 +19,9 @@ You can start InLong and SigNoz with one click using the following command ```bash cd ./docker/docker-compose -docker-compose -f docker-compose.yml -f log-system\signoz\clickhouse-setup\docker-compose.yaml up -d +docker-compose -f docker-compose.yml up -d +cd log-system/signoz/clickhouse-setup +docker-compose -f docker-compose-minimal.yaml up -d ``` ## Use of SigNoz diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/current/modules/sort/log_reporting.md b/i18n/zh-CN/docusaurus-plugin-content-docs/current/modules/sort/log_reporting.md index 5993ec950b1..16b92de88ae 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-docs/current/modules/sort/log_reporting.md +++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/modules/sort/log_reporting.md @@ -15,11 +15,13 @@ SigNoz 是一个开源的 APM 和可观测性平台,它可以帮助你收集 ### SigNoz 的安装 -你可以通过以下命令来一键启动 InLong 和 SigNoz +你可以通过以下命令来启动 InLong 和 SigNoz ```bash cd ./docker/docker-compose -docker-compose -f docker-compose.yml -f log-system\signoz\clickhouse-setup\docker-compose.yaml up -d +docker-compose -f docker-compose.yml up -d +cd log-system/signoz/clickhouse-setup +docker-compose -f docker-compose-minimal.yaml up -d ``` ## SigNoz 的使用