Skip to content

Commit

Permalink
chore: fix schema
Browse files Browse the repository at this point in the history
  • Loading branch information
markphelps committed Apr 30, 2024
1 parent f51a938 commit 8d5e0d1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions config/flipt.schema.cue
Original file line number Diff line number Diff line change
Expand Up @@ -282,9 +282,9 @@ import "strings"
}

#tracing: {
enabled?: bool | *false
exporter?: *"jaeger" | "zipkin" | "otlp"
samplingRatio?: float & >=0 & <=1 | *1
enabled?: bool | *false
exporter?: *"jaeger" | "zipkin" | "otlp"
sampling_ratio?: float & >=0 & <=1 | *1
propagators?: [
..."tracecontext" | "baggage" | "b3" | "b3multi" | "jaeger" | "xray" | "ottrace" | "none",
] | *["tracecontext", "baggage"]
Expand Down
2 changes: 1 addition & 1 deletion config/flipt.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -977,7 +977,7 @@
"enum": ["jaeger", "zipkin", "otlp"],
"default": "jaeger"
},
"samplingRatio": {
"sampling_ratio": {
"type": "number",
"default": 1,
"minimum": 0,
Expand Down

0 comments on commit 8d5e0d1

Please sign in to comment.