Skip to content

Commit 79619da

Browse files
Updating config schema.
1 parent 8ca8987 commit 79619da

File tree

1 file changed

+33
-33
lines changed

1 file changed

+33
-33
lines changed

config_schema.json

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,54 +1,39 @@
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-tls-cert-path",
5+
"description": "Path to a file containing a PEM-encoded certificate to use as a CA for TLS connections to the OpenTelemetry collector",
66
"isOps": true,
7-
"boolField": {}
7+
"stringField": {}
88
},
99
{
10-
"name": "log-level",
11-
"description": "The log level: debug, info, warn, error",
10+
"name": "otel-logging-disabled",
11+
"description": "Disable OpenTelemetry logging",
1212
"isOps": true,
13-
"stringField": {
14-
"defaultValue": "info"
15-
}
16-
},
17-
{
18-
"name": "sync-secrets",
19-
"description": "Whether to sync secrets or not",
2013
"boolField": {}
2114
},
2215
{
23-
"name": "app-id",
24-
"description": "The GitHub App to connect to.",
25-
"stringField": {}
26-
},
27-
{
28-
"name": "otel-collector-endpoint-tls-cert-path",
29-
"description": "Path to a file containing a PEM-encoded certificate to use as a CA for TLS connections to the OpenTelemetry collector",
16+
"name": "otel-collector-endpoint",
17+
"description": "The endpoint of the OpenTelemetry collector to send observability data to (used for both tracing and logging if specific endpoints are not provided)",
3018
"isOps": true,
3119
"stringField": {}
3220
},
3321
{
34-
"name": "token",
35-
"description": "The GitHub access token used to connect to the GitHub API.",
36-
"stringField": {}
37-
},
38-
{
39-
"name": "instance-url",
40-
"description": "The GitHub instance URL to connect to. (default \"https://github.com\")",
22+
"name": "app-id",
23+
"description": "The GitHub App to connect to.",
4124
"stringField": {}
4225
},
4326
{
44-
"name": "otel-collector-endpoint",
45-
"description": "The endpoint of the OpenTelemetry collector to send observability data to (used for both tracing and logging if specific endpoints are not provided)",
27+
"name": "log-level",
28+
"description": "The log level: debug, info, warn, error",
4629
"isOps": true,
47-
"stringField": {}
30+
"stringField": {
31+
"defaultValue": "info"
32+
}
4833
},
4934
{
50-
"name": "otel-logging-disabled",
51-
"description": "Disable OpenTelemetry logging",
35+
"name": "otel-tracing-disabled",
36+
"description": "Disable OpenTelemetry tracing",
5237
"isOps": true,
5338
"boolField": {}
5439
},
@@ -57,6 +42,16 @@
5742
"description": "Limit syncing to specific organizations.",
5843
"stringSliceField": {}
5944
},
45+
{
46+
"name": "token",
47+
"description": "The GitHub access token used to connect to the GitHub API.",
48+
"stringField": {}
49+
},
50+
{
51+
"name": "sync-secrets",
52+
"description": "Whether to sync secrets or not",
53+
"boolField": {}
54+
},
6055
{
6156
"name": "app-privatekey-path",
6257
"description": "Path to private key that is used to connect to the GitHub App",
@@ -69,10 +64,15 @@
6964
"stringField": {}
7065
},
7166
{
72-
"name": "otel-tracing-disabled",
73-
"description": "Disable OpenTelemetry tracing",
67+
"name": "otel-collector-endpoint-tls-insecure",
68+
"description": "Allow insecure connections to the OpenTelemetry collector",
7469
"isOps": true,
7570
"boolField": {}
71+
},
72+
{
73+
"name": "instance-url",
74+
"description": "The GitHub instance URL to connect to. (default \"https://github.com\")",
75+
"stringField": {}
7676
}
7777
],
7878
"constraints": [

0 commit comments

Comments
 (0)