summaryrefslogtreecommitdiff
path: root/schemas/config/2.0.schema.json
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2022-09-15 10:17:58 +0200
committerGitHub <[email protected]>2022-09-15 10:17:58 +0200
commit28b14c2c390e899c4ac4db9c8b28d0c7d444da3d (patch)
tree561152ea864e577058e03fe71af4fec20b91c43c /schemas/config/2.0.schema.json
parente044c06b7146e7d62690eeed406fbad55244c935 (diff)
parent89de1ce097306d619636c04359cbe43bcde01205 (diff)
[#1284]: feat: release `v2.11.2`v2.11.2
Diffstat (limited to 'schemas/config/2.0.schema.json')
-rw-r--r--schemas/config/2.0.schema.json111
1 files changed, 72 insertions, 39 deletions
diff --git a/schemas/config/2.0.schema.json b/schemas/config/2.0.schema.json
index a0721fb1..e03d4998 100644
--- a/schemas/config/2.0.schema.json
+++ b/schemas/config/2.0.schema.json
@@ -216,56 +216,89 @@
"type": "string",
"default": "default"
},
- "codec": {
- "description": "Internal temporal communication protocol",
- "type": "string",
- "default": "proto",
- "anyOf": [
- {
- "type": "string",
- "examples": [
- "proto",
- "json"
- ]
- }
- ]
- },
- "debug_level": {
- "description": "Debugging level (only for json codec)",
- "type": "integer",
- "minimum": 0,
- "maximum": 2,
- "default": 0
- },
"metrics": {
"description": "Temporal metrics",
"type": "object",
"default": null,
"properties": {
- "address": {
- "description": "Server metrics address",
- "type": "string",
- "default": "127.0.0.1:9091"
- },
- "type": {
+ "driver": {
+ "description": "Metrics driver to use",
"type": "string",
- "description": "Metrics type",
- "anyOf": [
- {
+ "enum": [
+ "prometheus",
+ "statsd"
+ ],
+ "default": "prometheus"
+ }
+ },
+ "anyOf": [
+ {
+ "type": "object",
+ "properties": {
+ "address": {
+ "description": "Server metrics address",
"type": "string",
- "examples": [
- "summary",
- "histogram"
+ "default": "127.0.0.1:9091"
+ },
+ "type": {
+ "type": "string",
+ "description": "Metrics type",
+ "anyOf": [
+ {
+ "type": "string",
+ "examples": [
+ "summary",
+ "histogram"
+ ]
+ }
]
+ },
+ "prefix": {
+ "description": "Temporal metrics prefix",
+ "type": "string",
+ "default": null
}
- ]
+ }
},
- "prefix": {
- "description": "Temporal metrics prefix",
- "type": "string",
- "default": null
+ {
+ "properties": {
+ "host_port": {
+ "description": "The host and port of the statsd server",
+ "type": "string",
+ "default": "127.0.0.1:8125"
+ },
+ "prefix": {
+ "description": "The prefix to use in reporting to statsd",
+ "type": "string",
+ "default": null
+ },
+ "flush_interval": {
+ "description": "FlushInterval is the maximum interval for sending packets",
+ "type": "string",
+ "default": "1s"
+ },
+ "flush_bytes": {
+ "description": "FlushBytes specifies the maximum udp packet size you wish to send. If FlushBytes is unspecified, it defaults to 1432 bytes, which is considered safe for local traffic.",
+ "type": "integer",
+ "default": 1432
+ },
+ "tags": {
+ "description": "Hashmap with tag:value values",
+ "$ref": "#/definitions/Hashmap"
+ },
+ "tag_prefix": {
+ "description": "Prefix for the tag",
+ "type": "string",
+ "default": null
+ },
+ "tag_separator": {
+ "description": "TagSeparator allows tags to be appended with a separator. If not specified tag keys and values are embedded to the stat name directly.",
+ "type": "string",
+ "default": null
+ }
+ }
}
- }
+ ]
},
"activities": {
"description": "Activities pool settings",