Allow setting the OTLP tracing sample rate

This commit is contained in:
Quentin Gliech
2025-04-05 23:19:50 +02:00
parent 05b7d2d1ec
commit d5017bb623
3 changed files with 24 additions and 3 deletions

View File

@@ -1213,6 +1213,16 @@
"items": {
"$ref": "#/definitions/Propagator"
}
},
"sample_rate": {
"description": "Sample rate for traces\n\nDefaults to `1.0` if not set.",
"examples": [
0.5
],
"type": "number",
"format": "double",
"maximum": 1.0,
"minimum": 0.0
}
}
},