Skip to content

Commit ead679f

Browse files
Updating config schema.
1 parent ad1520b commit ead679f

File tree

1 file changed

+31
-31
lines changed

1 file changed

+31
-31
lines changed

config_schema.json

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
11
{
22
"fields": [
33
{
4-
"name": "log-level",
5-
"description": "The log level: debug, info, warn, error",
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)",
66
"isOps": true,
7-
"stringField": {
8-
"defaultValue": "info"
9-
}
7+
"stringField": {}
8+
},
9+
{
10+
"name": "otel-collector-endpoint-tls-insecure",
11+
"description": "Allow insecure connections to the OpenTelemetry collector",
12+
"isOps": true,
13+
"boolField": {}
1014
},
1115
{
1216
"name": "otel-tracing-disabled",
@@ -20,20 +24,14 @@
2024
"stringField": {}
2125
},
2226
{
23-
"name": "token",
24-
"description": "The GitHub access token used to connect to the GitHub API.",
25-
"stringField": {}
26-
},
27-
{
28-
"name": "otel-collector-endpoint-tls-cert",
29-
"description": "A PEM-encoded certificate to use as a CA for TLS connections to the OpenTelemetry collector",
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",
3029
"isOps": true,
3130
"stringField": {}
3231
},
3332
{
34-
"name": "otel-collector-endpoint",
35-
"description": "The endpoint of the OpenTelemetry collector to send observability data to (used for both tracing and logging if specific endpoints are not provided)",
36-
"isOps": true,
33+
"name": "token",
34+
"description": "The GitHub access token used to connect to the GitHub API.",
3735
"stringField": {}
3836
},
3937
{
@@ -42,37 +40,39 @@
4240
"boolField": {}
4341
},
4442
{
45-
"name": "orgs",
46-
"description": "Limit syncing to specific organizations.",
47-
"stringSliceField": {}
43+
"name": "app-id",
44+
"description": "The GitHub App to connect to.",
45+
"stringField": {}
4846
},
4947
{
50-
"name": "otel-collector-endpoint-tls-cert-path",
51-
"description": "Path to a file containing a PEM-encoded certificate to use as a CA for TLS connections to the OpenTelemetry collector",
48+
"name": "otel-logging-disabled",
49+
"description": "Disable OpenTelemetry logging",
5250
"isOps": true,
53-
"stringField": {}
51+
"boolField": {}
5452
},
5553
{
5654
"name": "instance-url",
5755
"description": "The GitHub instance URL to connect to. (default \"https://github.com\")",
5856
"stringField": {}
5957
},
6058
{
61-
"name": "otel-collector-endpoint-tls-insecure",
62-
"description": "Allow insecure connections to the OpenTelemetry collector",
59+
"name": "otel-collector-endpoint-tls-cert",
60+
"description": "A PEM-encoded certificate to use as a CA for TLS connections to the OpenTelemetry collector",
6361
"isOps": true,
64-
"boolField": {}
62+
"stringField": {}
6563
},
6664
{
67-
"name": "otel-logging-disabled",
68-
"description": "Disable OpenTelemetry logging",
69-
"isOps": true,
70-
"boolField": {}
65+
"name": "orgs",
66+
"description": "Limit syncing to specific organizations.",
67+
"stringSliceField": {}
7168
},
7269
{
73-
"name": "app-id",
74-
"description": "The GitHub App to connect to.",
75-
"stringField": {}
70+
"name": "log-level",
71+
"description": "The log level: debug, info, warn, error",
72+
"isOps": true,
73+
"stringField": {
74+
"defaultValue": "info"
75+
}
7676
}
7777
],
7878
"constraints": [

0 commit comments

Comments
 (0)