Skip to content

Latest commit

History

History
30 lines (22 loc) 路 921 Bytes

no-empty-attributes.mdx

File metadata and controls

30 lines (22 loc) 路 921 Bytes
id title description keywords image
no-empty-attributes
no-empty-attributes
Disallow empty attribute values | The Tracetest Analyzer analyzes OpenTelemetry traces
tracetest
trace-based testing
observability
distributed tracing
testing

Disallow empty attribute values.

Rule Details

An聽Attribute聽is a key-value pair, which is encapsulated as part of a span. The attribute value should not be empty to be considered valid.

Options

This rule has the following options:

  • "error" requires attribute values to not be empty
  • "disabled" disables the attribute values verification
  • "warning" verifies attribute values to not be empty but does not impact the analyzer score

When Not To Use It

If you intentionally use empty attribute values then you can disable this rule.