Skip to content

Commit

Permalink
config:generate
Browse files Browse the repository at this point in the history
Signed-off-by: Sarah Funkhouser <[email protected]>
  • Loading branch information
golanglemonade committed Aug 29, 2024
1 parent 93e90d5 commit 3829b8d
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 54 deletions.
35 changes: 13 additions & 22 deletions jsonschema/api-docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Config contains the configuration for the core server
|[**db**](#db)|`object`||yes|
|[**dbx**](#dbx)|`object`|||
|[**redis**](#redis)|`object`|Config for the redis client used to store key-value pairs<br/>||
|[**tracer**](#tracer)|`object`|Config defines the configuration settings for opentelemetry tracing<br/>||
|[**tracer**](#tracer)|`object`|||
|[**email**](#email)|`object`|||
|[**sessions**](#sessions)|`object`|||
|[**posthog**](#posthog)|`object`|Config is the configuration for PostHog<br/>||
Expand Down Expand Up @@ -454,50 +454,41 @@ Config for the redis client used to store key-value pairs
<a name="tracer"></a>
## tracer: object

Config defines the configuration settings for opentelemetry tracing


**Properties**

|Name|Type|Description|Required|
|----|----|-----------|--------|
|**enabled**|`boolean`|Enabled to enable tracing<br/>||
|**provider**|`string`|Provider to use for tracing<br/>||
|**environment**|`string`|Environment to set for the service<br/>||
|[**stdout**](#tracerstdout)|`object`|StdOut settings for the stdout provider<br/>||
|[**otlp**](#tracerotlp)|`object`|OTLP settings for the otlp provider<br/>||
|**enabled**|`boolean`|||
|**provider**|`string`|||
|**environment**|`string`|||
|[**stdout**](#tracerstdout)|`object`|||
|[**otlp**](#tracerotlp)|`object`|||

**Additional Properties:** not allowed
<a name="tracerstdout"></a>
### tracer\.stdout: object

StdOut settings for the stdout provider


**Properties**

|Name|Type|Description|Required|
|----|----|-----------|--------|
|**pretty**|`boolean`|Pretty enables pretty printing of the output<br/>||
|**disableTimestamp**|`boolean`|DisableTimestamp disables the timestamp in the output<br/>||
|**pretty**|`boolean`|||
|**disableTimestamp**|`boolean`|||

**Additional Properties:** not allowed
<a name="tracerotlp"></a>
### tracer\.otlp: object

OTLP settings for the otlp provider


**Properties**

|Name|Type|Description|Required|
|----|----|-----------|--------|
|**endpoint**|`string`|Endpoint to send the traces to<br/>||
|**insecure**|`boolean`|Insecure to disable TLS<br/>||
|**certificate**|`string`|Certificate to use for TLS<br/>||
|**endpoint**|`string`|||
|**insecure**|`boolean`|||
|**certificate**|`string`|||
|[**headers**](#tracerotlpheaders)|`string[]`|||
|**compression**|`string`|Compression to use for the request<br/>||
|**timeout**|`integer`|Timeout for the request<br/>||
|**compression**|`string`|||
|**timeout**|`integer`|||

**Additional Properties:** not allowed
<a name="tracerotlpheaders"></a>
Expand Down
48 changes: 16 additions & 32 deletions jsonschema/core.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -616,75 +616,59 @@
"otelx.Config": {
"properties": {
"enabled": {
"type": "boolean",
"description": "Enabled to enable tracing"
"type": "boolean"
},
"provider": {
"type": "string",
"description": "Provider to use for tracing"
"type": "string"
},
"environment": {
"type": "string",
"description": "Environment to set for the service"
"type": "string"
},
"stdout": {
"$ref": "#/$defs/otelx.StdOut",
"description": "StdOut settings for the stdout provider"
"$ref": "#/$defs/otelx.StdOut"
},
"otlp": {
"$ref": "#/$defs/otelx.OTLP",
"description": "OTLP settings for the otlp provider"
"$ref": "#/$defs/otelx.OTLP"
}
},
"additionalProperties": false,
"type": "object",
"description": "Config defines the configuration settings for opentelemetry tracing"
"type": "object"
},
"otelx.OTLP": {
"properties": {
"endpoint": {
"type": "string",
"description": "Endpoint to send the traces to"
"type": "string"
},
"insecure": {
"type": "boolean",
"description": "Insecure to disable TLS"
"type": "boolean"
},
"certificate": {
"type": "string",
"description": "Certificate to use for TLS"
"type": "string"
},
"headers": {
"$ref": "#/$defs/[]string",
"description": "Headers to send with the request"
"$ref": "#/$defs/[]string"
},
"compression": {
"type": "string",
"description": "Compression to use for the request"
"type": "string"
},
"timeout": {
"type": "integer",
"description": "Timeout for the request"
"type": "integer"
}
},
"additionalProperties": false,
"type": "object",
"description": "OTLP settings for the otlp provider"
"type": "object"
},
"otelx.StdOut": {
"properties": {
"pretty": {
"type": "boolean",
"description": "Pretty enables pretty printing of the output"
"type": "boolean"
},
"disableTimestamp": {
"type": "boolean",
"description": "DisableTimestamp disables the timestamp in the output"
"type": "boolean"
}
},
"additionalProperties": false,
"type": "object",
"description": "StdOut settings for the stdout provider"
"type": "object"
},
"posthog.Config": {
"properties": {
Expand Down

0 comments on commit 3829b8d

Please sign in to comment.