Module: Maze::Schemas
- Defined in:
- lib/maze/schemas/validator.rb,
lib/maze/schemas/trace_schema.rb,
lib/maze/schemas/validator_base.rb,
lib/maze/schemas/error_validator.rb,
lib/maze/schemas/trace_validator.rb,
lib/maze/schemas/config_validator.rb
Defined Under Namespace
Classes: ConfigValidator, ErrorValidator, TraceValidator, Validator, ValidatorBase
Constant Summary collapse
- TRACE_SCHEMA =
JSON.parse(File.read(File.("OtelTraceSchema.json", File.dirname(__FILE__))))
- SAMPLING_HEADER_ENTRY =
'((1(.0)?|0(\.[0-9]+)?):[0-9]+)'
- SAMPLING_HEADER =
"^#{SAMPLING_HEADER_ENTRY}(;#{SAMPLING_HEADER_ENTRY})*$"