summaryrefslogtreecommitdiff
path: root/schemas
diff options
context:
space:
mode:
authorKajetan <[email protected]>2023-02-07 09:26:28 +0100
committerGitHub <[email protected]>2023-02-07 09:26:28 +0100
commit081e58f2e04a2de43bdbca600001bfea3944ff22 (patch)
tree9ce150290dbd7d2351028a50a434d5cf33a96204 /schemas
parent7221ba037c5aeb2cfee0e8eefc8b0e15112b1d2f (diff)
[#1444]: feature: opentelemetry support for the `gRPC` and `Temporal` plugins
Diffstat (limited to 'schemas')
-rw-r--r--schemas/config/2.0.schema.json135
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": [