summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2022-05-16 15:55:46 +0200
committerValery Piashchynski <[email protected]>2022-05-16 15:55:46 +0200
commit2588a24f853225e98898fe4d0265e2df0bd0c82c (patch)
tree93bf6f5faa95fa3646f6e8e0d3dc546ba8ff4c81
parent5ce50f7b86909714a3857d7900ec0ddf45cc7529 (diff)
fix schema2.0
Signed-off-by: Valery Piashchynski <[email protected]>
-rw-r--r--.rr.yaml8
-rw-r--r--schemas/config/2.0.schema.json4
2 files changed, 6 insertions, 6 deletions
diff --git a/.rr.yaml b/.rr.yaml
index 141d6f1c..b6c84119 100644
--- a/.rr.yaml
+++ b/.rr.yaml
@@ -524,22 +524,22 @@ http:
# Used for the http client to override the default URL
#
# Default: empty
- custom_url:
+ custom_url: ""
# User's service name
#
# Default: RoadRunner
- service_name: rr_test
+ service_name: "rr_test"
# User's service version
#
# Default: RoadRunner
- service_version: 1.0.0
+ service_version: "1.0.0"
# Consumer's endpoint
#
# Default: localhost:4318
- endpoint: 127.0.0.1:4318
+ endpoint: "127.0.0.1:4318"
# [SINCE 2.6] New Relic middleware
new_relic:
diff --git a/schemas/config/2.0.schema.json b/schemas/config/2.0.schema.json
index 4894a1f0..64e7e279 100644
--- a/schemas/config/2.0.schema.json
+++ b/schemas/config/2.0.schema.json
@@ -749,7 +749,7 @@
},
"exporter": {
"description": "Provides functionality to emit telemetry to consumers",
- "type": "array",
+ "type": "string",
"items": {
"type": "string",
"enum": [
@@ -772,7 +772,7 @@
},
"client": {
"description": "Client to send the spans",
- "type": "array",
+ "type": "string",
"items": {
"type": "string",
"enum": [