Skip to content

Commit cfb2746

Browse files
Updating config schema.
1 parent 8727d86 commit cfb2746

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,9 +1,8 @@
11
{
22
"fields": [
33
{
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,
4+
"name": "app-id",
5+
"description": "The GitHub App to connect to.",
76
"stringField": {}
87
},
98
{
@@ -12,31 +11,28 @@
1211
"stringField": {}
1312
},
1413
{
15-
"name": "otel-logging-disabled",
16-
"description": "Disable OpenTelemetry logging",
17-
"isOps": true,
18-
"boolField": {}
14+
"name": "instance-url",
15+
"description": "The GitHub instance URL to connect to. (default \"https://github.com\")",
16+
"stringField": {}
1917
},
2018
{
21-
"name": "token",
22-
"description": "The GitHub access token used to connect to the GitHub API.",
23-
"stringField": {}
19+
"name": "log-level",
20+
"description": "The log level: debug, info, warn, error",
21+
"isOps": true,
22+
"stringField": {
23+
"defaultValue": "info"
24+
}
2425
},
2526
{
2627
"name": "orgs",
2728
"description": "Limit syncing to specific organizations.",
2829
"stringSliceField": {}
2930
},
3031
{
31-
"name": "otel-collector-endpoint-tls-insecure",
32-
"description": "Allow insecure connections to the OpenTelemetry collector",
32+
"name": "otel-collector-endpoint",
33+
"description": "The endpoint of the OpenTelemetry collector to send observability data to (used for both tracing and logging if specific endpoints are not provided)",
3334
"isOps": true,
34-
"boolField": {}
35-
},
36-
{
37-
"name": "sync-secrets",
38-
"description": "Whether to sync secrets or not",
39-
"boolField": {}
35+
"stringField": {}
4036
},
4137
{
4238
"name": "otel-collector-endpoint-tls-cert",
@@ -45,23 +41,22 @@
4541
"stringField": {}
4642
},
4743
{
48-
"name": "app-id",
49-
"description": "The GitHub App to connect to.",
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,
5047
"stringField": {}
5148
},
5249
{
53-
"name": "log-level",
54-
"description": "The log level: debug, info, warn, error",
50+
"name": "otel-collector-endpoint-tls-insecure",
51+
"description": "Allow insecure connections to the OpenTelemetry collector",
5552
"isOps": true,
56-
"stringField": {
57-
"defaultValue": "info"
58-
}
53+
"boolField": {}
5954
},
6055
{
61-
"name": "otel-collector-endpoint-tls-cert-path",
62-
"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-logging-disabled",
57+
"description": "Disable OpenTelemetry logging",
6358
"isOps": true,
64-
"stringField": {}
59+
"boolField": {}
6560
},
6661
{
6762
"name": "otel-tracing-disabled",
@@ -70,8 +65,13 @@
7065
"boolField": {}
7166
},
7267
{
73-
"name": "instance-url",
74-
"description": "The GitHub instance URL to connect to. (default \"https://github.com\")",
68+
"name": "sync-secrets",
69+
"description": "Whether to sync secrets or not",
70+
"boolField": {}
71+
},
72+
{
73+
"name": "token",
74+
"description": "The GitHub access token used to connect to the GitHub API.",
7575
"stringField": {}
7676
}
7777
],

0 commit comments

Comments
 (0)