diff options
author | Ava Hahn <a.hahn@f5.com> | 2024-11-07 14:10:57 -0800 |
---|---|---|
committer | Ava Hahn <110854134+avahahn@users.noreply.github.com> | 2024-11-12 09:50:02 -0800 |
commit | 586c5b536683294981181e334b5af264a4615c74 (patch) | |
tree | 62bdfb4e87ec0925dc0d3118e874b8b1be00fc03 /src/nxt_sendbuf.h | |
parent | b9066210ac378a6255c1e3de5fc01ee29904a05c (diff) | |
download | unit-586c5b536683294981181e334b5af264a4615c74.tar.gz unit-586c5b536683294981181e334b5af264a4615c74.tar.bz2 |
otel: configuration items and their validation
Adds code responsible for users to apply the `telemetry` configuration
options.
configuration snippet as follows:
{
"settings": {
"telemetry": {
"batch_size": 20,
"endpoint": "http://lgtm:4318/v1/traces",
"protocol": "http",
"sampling_ratio": 1
}
},
"listeners": {
"*:80": {
"pass": "routes"
}
},
"routes": [
{
"match": {
"headers": {
"accept": "*text/html*"
}
},
"action": {
"share": "/usr/share/unit/welcome/welcome.html"
}
},
{
"action": {
"share": "/usr/share/unit/welcome/welcome.md"
}
}
]
}
Signed-off-by: Ava Hahn <a.hahn@f5.com>
Signed-off-by: Gabor Javorszky <g.javorszky@f5.com>
Diffstat (limited to 'src/nxt_sendbuf.h')
0 files changed, 0 insertions, 0 deletions