Skip to content

Commit 6bf2cd5

Browse files
Updating config schema.
1 parent 780b76b commit 6bf2cd5

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,16 +1,35 @@
11
{
22
"fields": [
3+
{
4+
"name": "log-level",
5+
"description": "The log level: debug, info, warn, error",
6+
"isOps": true,
7+
"stringField": {
8+
"defaultValue": "info"
9+
}
10+
},
311
{
412
"name": "otel-collector-endpoint-tls-cert",
513
"description": "A PEM-encoded certificate to use as a CA for TLS connections to the OpenTelemetry collector",
614
"isOps": true,
715
"stringField": {}
816
},
17+
{
18+
"name": "app-id",
19+
"description": "The GitHub App to connect to.",
20+
"stringField": {}
21+
},
922
{
1023
"name": "orgs",
1124
"description": "Limit syncing to specific organizations.",
1225
"stringSliceField": {}
1326
},
27+
{
28+
"name": "otel-logging-disabled",
29+
"description": "Disable OpenTelemetry logging",
30+
"isOps": true,
31+
"boolField": {}
32+
},
1433
{
1534
"name": "instance-url",
1635
"description": "The GitHub instance URL to connect to. (default \"https://github.com\")",
@@ -22,13 +41,9 @@
2241
"boolField": {}
2342
},
2443
{
25-
"name": "app-privatekey-path",
26-
"description": "Path to private key that is used to connect to the GitHub App",
27-
"stringField": {}
28-
},
29-
{
30-
"name": "token",
31-
"description": "The GitHub access token used to connect to the GitHub API.",
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,
3247
"stringField": {}
3348
},
3449
{
@@ -38,41 +53,26 @@
3853
"stringField": {}
3954
},
4055
{
41-
"name": "otel-collector-endpoint-tls-cert-path",
42-
"description": "Path to a file containing a PEM-encoded certificate to use as a CA for TLS connections to the OpenTelemetry collector",
56+
"name": "otel-collector-endpoint-tls-insecure",
57+
"description": "Allow insecure connections to the OpenTelemetry collector",
4358
"isOps": true,
44-
"stringField": {}
59+
"boolField": {}
4560
},
4661
{
47-
"name": "app-id",
48-
"description": "The GitHub App to connect to.",
62+
"name": "token",
63+
"description": "The GitHub access token used to connect to the GitHub API.",
4964
"stringField": {}
5065
},
5166
{
52-
"name": "log-level",
53-
"description": "The log level: debug, info, warn, error",
54-
"isOps": true,
55-
"stringField": {
56-
"defaultValue": "info"
57-
}
58-
},
59-
{
60-
"name": "otel-collector-endpoint-tls-insecure",
61-
"description": "Allow insecure connections to the OpenTelemetry collector",
62-
"isOps": true,
63-
"boolField": {}
67+
"name": "app-privatekey-path",
68+
"description": "Path to private key that is used to connect to the GitHub App",
69+
"stringField": {}
6470
},
6571
{
6672
"name": "otel-tracing-disabled",
6773
"description": "Disable OpenTelemetry tracing",
6874
"isOps": true,
6975
"boolField": {}
70-
},
71-
{
72-
"name": "otel-logging-disabled",
73-
"description": "Disable OpenTelemetry logging",
74-
"isOps": true,
75-
"boolField": {}
7676
}
7777
],
7878
"constraints": [

0 commit comments

Comments
 (0)