diff options
Diffstat (limited to 'schemas')
-rw-r--r-- | schemas/config/2.0.schema.json | 135 |
1 files changed, 68 insertions, 67 deletions
diff --git a/schemas/config/2.0.schema.json b/schemas/config/2.0.schema.json index 7081d318..3f9c0e91 100644 --- a/schemas/config/2.0.schema.json +++ b/schemas/config/2.0.schema.json @@ -461,6 +461,74 @@ } } }, + "otel": { + "description": "OpenTelemetry configuration", + "type": "object", + "properties": { + "insecure": { + "description": "Use insecure endpoint", + "type": "boolean", + "default": false + }, + "compress": { + "description": "Use gzip compressor", + "type": "boolean", + "default": false + }, + "exporter": { + "description": "Provides functionality to emit telemetry to consumers", + "type": "string", + "items": { + "type": "string", + "enum": [ + "zipkin", + "stdout", + "stderr", + "otlp", + "jaeger", + "jaeger_agent" + ], + "pattern": "^[0-9a-zA-Z_]+$" + } + }, + "custom_url": { + "description": "Used for the http client to override the default URL", + "type": "string", + "default": "" + }, + "endpoint": { + "description": "Consumer's endpoint", + "type": "string", + "default": "127.0.0.1:4318" + }, + "client": { + "description": "Client to send the spans", + "type": "string", + "items": { + "type": "string", + "enum": [ + "http", + "grpc" + ], + "pattern": "^[0-9a-zA-Z_]+$" + } + }, + "service_name": { + "description": "User's service name", + "type": "string", + "default": "RoadRunner" + }, + "service_version": { + "description": "User's service version", + "type": "string", + "default": "1.0.0" + }, + "headers": { + "description": "User defined headers", + "$ref": "#/definitions/Hashmap" + } + } + }, "http": { "type": "object", "properties": { @@ -1046,73 +1114,6 @@ "minimum": 0 } } - }, - "otel": { - "description": "OpenTelemetry configuration", - "type": "object", - "properties": { - "insecure": { - "description": "Use insecure endpoint", - "type": "boolean", - "default": false - }, - "compress": { - "description": "Use gzip compressor", - "type": "boolean", - "default": false - }, - "exporter": { - "description": "Provides functionality to emit telemetry to consumers", - "type": "string", - "items": { - "type": "string", - "enum": [ - "zipkin", - "stdout", - "otlp", - "jaeger", - "jaeger_agent" - ], - "pattern": "^[0-9a-zA-Z_]+$" - } - }, - "custom_url": { - "description": "Used for the http client to override the default URL", - "type": "string", - "default": "" - }, - "endpoint": { - "description": "Consumer's endpoint", - "type": "string", - "default": "localhost:4318" - }, - "client": { - "description": "Client to send the spans", - "type": "string", - "items": { - "type": "string", - "enum": [ - "http", - "grpc" - ], - "pattern": "^[0-9a-zA-Z_]+$" - } - }, - "service_name": { - "description": "User's service name", - "type": "string", - "default": "RoadRunner" - }, - "service_version": { - "description": "User's service version", - "type": "string", - "default": "1.0.0" - }, - "headers": { - "description": "User defined headers", - "$ref": "#/definitions/Hashmap" - } - } } }, "required": [ |