| 1 |
protocols: |
| 2 |
grpc: |
| 3 |
# The following entry demonstrates how to specify TLS credentials for the server. |
| 4 |
# Note: These files do not exist. If the receiver is started with this configuration, it will fail. |
| 5 |
tls: |
| 6 |
cert_file: test.crt |
| 7 |
key_file: test.key |
| 8 |
|
| 9 |
# The following demonstrates how to set maximum limits on stream, message size and connection idle time. |
| 10 |
# Note: The test yaml has demonstrated configuration on a grouped by their structure; however, all of the settings can |
| 11 |
# be mix and matched like adding the maximum connection idle setting in this example. |
| 12 |
max_recv_msg_size_mib: 32 |
| 13 |
max_concurrent_streams: 16 |
| 14 |
read_buffer_size: 1024 |
| 15 |
write_buffer_size: 1024 |
| 16 |
|
| 17 |
# The following entry configures all of the keep alive settings. These settings are used to configure the receiver. |
| 18 |
keepalive: |
| 19 |
server_parameters: |
| 20 |
max_connection_idle: 11s |
| 21 |
max_connection_age: 12s |
| 22 |
max_connection_age_grace: 13s |
| 23 |
time: 30s |
| 24 |
timeout: 5s |
| 25 |
enforcement_policy: |
| 26 |
min_time: 10s |
| 27 |
permit_without_stream: true |
| 28 |
http: |
| 29 |
auth: |
| 30 |
authenticator: test |
| 31 |
# The following entry demonstrates how to specify TLS credentials for the server. |
| 32 |
# Note: These files do not exist. If the receiver is started with this configuration, it will fail. |
| 33 |
tls: |
| 34 |
cert_file: test.crt |
| 35 |
key_file: test.key |
| 36 |
|
| 37 |
# The following entry demonstrates how to configure the OTLP receiver to allow Cross-Origin Resource Sharing (CORS). |
| 38 |
# Both fully qualified domain names and the use of wildcards are supported. |
| 39 |
cors: |
| 40 |
allowed_origins: |
| 41 |
- https://*.test.com # Wildcard subdomain. Allows domains like https://www.test.com and https://foo.test.com but not https://wwwtest.com. |
| 42 |
- https://test.com # Fully qualified domain name. Allows https://test.com only. |
| 43 |
max_age: 7200 |
| 44 |
|
| 45 |
# The following shows URL paths for endpoints where signals are listened for bt the OTLP receiver |
| 46 |
traces_url_path: traces |
| 47 |
metrics_url_path: /v2/metrics |
| 48 |
logs_url_path: log/ingest |