Skip to content

Commit

Permalink
docs: update default settings
Browse files Browse the repository at this point in the history
  • Loading branch information
GZTimeWalker committed Apr 22, 2024
1 parent b377207 commit cc63f33
Show file tree
Hide file tree
Showing 5 changed files with 77 additions and 77 deletions.
2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"dependencies": {
"@vercel/analytics": "^1.2.2",
"next": "^14.2.1",
"next": "^14.2.2",
"nextra": "^2.13.4",
"nextra-theme-docs": "^2.13.4",
"react": "^18.2.0",
Expand Down
10 changes: 5 additions & 5 deletions docs/pages/config/appsettings.en.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,14 @@ Here is a complete example of configuration:
}
},
"Telemetry": {
"Enable": true,
"Enable": false,
"Prometheus": {
"Enable": true,
"Enable": false,
"Port": 3000,
"TotalNameSuffixForCounters": false
},
"OpenTelemetry": {
"Enable": true,
"Enable": false,
"Protocol": "Grpc",
"EndpointUri": "http://jaeger-collector:4317"
},
Expand Down Expand Up @@ -175,7 +175,7 @@ GZCTF only supports PostgreSQL as the database, and does not support MySQL and o

You can configure the logging level and scopes, besides, GZCTF also supports sending logs to Loki server.

- **LogLevel**: The minimal logging level per namespace.
- **LogLevel**: The minimal logging level per namespace.
- **Loki**: The configuration of Loki server.

- **Enable**: Enable it or not.
Expand All @@ -184,7 +184,7 @@ You can configure the logging level and scopes, besides, GZCTF also supports sen
- **PropertiesAsLabels**: Optional. The list of properties, which should be mapped to Loki labels.
- **Credentials**: Optional. Credentials, which will be used for basic auth
- **Tenant**: Optional. The Tenant ID used for sending logs to Loki server.
- **MinimumLevel**: Optional. Minimal logging level.
- **MinimumLevel**: Optional. Minimal logging level.

Available logging levels: Trace, Debug, Information, Warning, Error, Critical, None.

Expand Down
6 changes: 3 additions & 3 deletions docs/pages/config/appsettings.ja.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,14 @@ import { Callout } from "nextra-theme-docs";
}
},
"Telemetry": {
"Enable": true,
"Enable": false,
"Prometheus": {
"Enable": true,
"Enable": false,
"Port": 3000,
"TotalNameSuffixForCounters": false
},
"OpenTelemetry": {
"Enable": true,
"Enable": false,
"Protocol": "Grpc",
"EndpointUri": "http://jaeger-collector:4317"
},
Expand Down
6 changes: 3 additions & 3 deletions docs/pages/config/appsettings.zh.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,14 @@ import { Callout } from "nextra-theme-docs";
}
},
"Telemetry": {
"Enable": true,
"Enable": false,
"Prometheus": {
"Enable": true,
"Enable": false,
"Port": 3000,
"TotalNameSuffixForCounters": false
},
"OpenTelemetry": {
"Enable": true,
"Enable": false,
"Protocol": "Grpc",
"EndpointUri": "http://jaeger-collector:4317"
},
Expand Down
130 changes: 65 additions & 65 deletions docs/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit cc63f33

Please sign in to comment.