Skip to content

SigNoz is an open-source, OpenTelemetry-native observability platform for your team and their AI agents. Get logs, metrics, and traces in one tool with features like APM, distributed tracing, log management, infra monitoring, etc. Combined with SigNoz MCP and a native AI teammate (in SigNoz Cloud) it helps you build more resilient apps.

fix: update the md file for integrations config (#4677)

Vikrant Guptaa4d5774ae328
diff --git a/pkg/query-service/app/integrations/builtin_integrations/mongo/config/configure-otel-collector.md b/pkg/query-service/app/integrations/builtin_integrations/mongo/config/configure-otel-collector.md
index abb9bd8f25..35238c9e9a 100644
--- a/pkg/query-service/app/integrations/builtin_integrations/mongo/config/configure-otel-collector.md
+++ b/pkg/query-service/app/integrations/builtin_integrations/mongo/config/configure-otel-collector.md
@@ -4,7 +4,7 @@
Save the following collector config in a file named `mongo-collector-config.yaml`
-```
+```bash
receivers:
mongodb:
# - For standalone MongoDB deployments this is the hostname and port of the mongod instance
diff --git a/pkg/query-service/app/integrations/builtin_integrations/mongo/config/prerequisites.md b/pkg/query-service/app/integrations/builtin_integrations/mongo/config/prerequisites.md
index 2914a64b86..5a844d6988 100644
--- a/pkg/query-service/app/integrations/builtin_integrations/mongo/config/prerequisites.md
+++ b/pkg/query-service/app/integrations/builtin_integrations/mongo/config/prerequisites.md
@@ -8,7 +8,7 @@ Mongodb recommends to set up a least privilege user (LPU) with a `clusterMonitor
Run the following command to create a user with the necessary permissions.
-```
+```bash
use admin
db.createUser(
{
diff --git a/pkg/query-service/app/integrations/builtin_integrations/postgres/config/configure-otel-collector.md b/pkg/query-service/app/integrations/builtin_integrations/postgres/config/configure-otel-collector.md
index 3eb3a39b03..d0dcf896c1 100644
--- a/pkg/query-service/app/integrations/builtin_integrations/postgres/config/configure-otel-collector.md
+++ b/pkg/query-service/app/integrations/builtin_integrations/postgres/config/configure-otel-collector.md
@@ -4,7 +4,7 @@
Save the following collector config in a file named `postgres-collector-config.yaml`
-```
+```bash
receivers:
postgresql:
# The endpoint of the postgresql server. Whether using TCP or Unix sockets, this value should be host:port. If transport is set to unix, the endpoint will internally be translated from host:port to /host.s.PGSQL.port
diff --git a/pkg/query-service/app/integrations/builtin_integrations/postgres/config/prerequisites.md b/pkg/query-service/app/integrations/builtin_integrations/postgres/config/prerequisites.md
index 004692ba53..519509e4e2 100644
--- a/pkg/query-service/app/integrations/builtin_integrations/postgres/config/prerequisites.md
+++ b/pkg/query-service/app/integrations/builtin_integrations/postgres/config/prerequisites.md
@@ -8,7 +8,7 @@ This receiver supports PostgreSQL versions 9.6+
For PostgreSQL versions 10+, run:
-```
+```bash
create user monitoring with password '<PASSWORD>';
grant pg_monitor to monitoring;
grant SELECT ON pg_stat_database to monitoring;
@@ -16,7 +16,7 @@ grant SELECT ON pg_stat_database to monitoring;
For PostgreSQL versions >= 9.6 and <10, run:
-```
+```bash
create user monitoring with password '<PASSWORD>';
grant SELECT ON pg_stat_database to monitoring;
```
diff --git a/pkg/query-service/app/integrations/builtin_integrations/redis/config/configure-otel-collector.md b/pkg/query-service/app/integrations/builtin_integrations/redis/config/configure-otel-collector.md
index 21d586a771..8dd52dd07e 100644
--- a/pkg/query-service/app/integrations/builtin_integrations/redis/config/configure-otel-collector.md
+++ b/pkg/query-service/app/integrations/builtin_integrations/redis/config/configure-otel-collector.md
@@ -4,7 +4,7 @@
Save the following collector config in a file named `redis-collector-config.yaml`
-```
+```bash
receivers:
redis:
# The hostname and port of the Redis instance, separated by a colon.