Skip to content

Commit 0c34e27

Browse files
Updating config schema.
1 parent 99c0426 commit 0c34e27

File tree

1 file changed

+30
-30
lines changed

1 file changed

+30
-30
lines changed

config_schema.json

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
11
{
22
"fields": [
33
{
4-
"name": "otel-collector-endpoint-tls-insecure",
5-
"description": "Allow insecure connections to the OpenTelemetry collector",
4+
"name": "otel-collector-endpoint",
5+
"description": "The endpoint of the OpenTelemetry collector to send observability data to (used for both tracing and logging if specific endpoints are not provided)",
6+
"isOps": true,
7+
"stringField": {}
8+
},
9+
{
10+
"name": "otel-tracing-disabled",
11+
"description": "Disable OpenTelemetry tracing",
612
"isOps": true,
713
"boolField": {}
814
},
@@ -12,60 +18,54 @@
1218
"stringField": {}
1319
},
1420
{
15-
"name": "otel-collector-endpoint-tls-cert",
16-
"description": "A PEM-encoded certificate to use as a CA for TLS connections to the OpenTelemetry collector",
17-
"isOps": true,
18-
"stringField": {}
19-
},
20-
{
21-
"name": "otel-logging-disabled",
22-
"description": "Disable OpenTelemetry logging",
23-
"isOps": true,
21+
"name": "sync-secrets",
22+
"description": "Whether to sync secrets or not",
2423
"boolField": {}
2524
},
26-
{
27-
"name": "otel-collector-endpoint-tls-cert-path",
28-
"description": "Path to a file containing a PEM-encoded certificate to use as a CA for TLS connections to the OpenTelemetry collector",
29-
"isOps": true,
30-
"stringField": {}
31-
},
3225
{
3326
"name": "orgs",
3427
"description": "Limit syncing to specific organizations.",
3528
"stringSliceField": {}
3629
},
30+
{
31+
"name": "log-level",
32+
"description": "The log level: debug, info, warn, error",
33+
"isOps": true,
34+
"stringField": {
35+
"defaultValue": "info"
36+
}
37+
},
3738
{
3839
"name": "token",
3940
"description": "The GitHub access token used to connect to the GitHub API.",
4041
"stringField": {}
4142
},
4243
{
43-
"name": "sync-secrets",
44-
"description": "Whether to sync secrets or not",
45-
"boolField": {}
44+
"name": "otel-collector-endpoint-tls-cert-path",
45+
"description": "Path to a file containing a PEM-encoded certificate to use as a CA for TLS connections to the OpenTelemetry collector",
46+
"isOps": true,
47+
"stringField": {}
4648
},
4749
{
4850
"name": "app-id",
4951
"description": "The GitHub App to connect to.",
5052
"stringField": {}
5153
},
5254
{
53-
"name": "log-level",
54-
"description": "The log level: debug, info, warn, error",
55+
"name": "otel-collector-endpoint-tls-cert",
56+
"description": "A PEM-encoded certificate to use as a CA for TLS connections to the OpenTelemetry collector",
5557
"isOps": true,
56-
"stringField": {
57-
"defaultValue": "info"
58-
}
58+
"stringField": {}
5959
},
6060
{
61-
"name": "otel-collector-endpoint",
62-
"description": "The endpoint of the OpenTelemetry collector to send observability data to (used for both tracing and logging if specific endpoints are not provided)",
61+
"name": "otel-collector-endpoint-tls-insecure",
62+
"description": "Allow insecure connections to the OpenTelemetry collector",
6363
"isOps": true,
64-
"stringField": {}
64+
"boolField": {}
6565
},
6666
{
67-
"name": "otel-tracing-disabled",
68-
"description": "Disable OpenTelemetry tracing",
67+
"name": "otel-logging-disabled",
68+
"description": "Disable OpenTelemetry logging",
6969
"isOps": true,
7070
"boolField": {}
7171
},

0 commit comments

Comments
 (0)