@grepr/cli 1.6.28-aa70602 → 1.6.29-bea24ac

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -8690,8 +8690,8 @@ export interface components {
8690
8690
  timeUnixNano?: number;
8691
8691
  };
8692
8692
  /**
8693
- * Span-Scope Head Sampling Rules
8694
- * @description Head sampling rule evaluated per span. Matched spans are retained regardless of the tail sampler's decision.
8693
+ * Span Head Sampling Rules
8694
+ * @description Head sampling rule evaluated per span. Matched spans are retained.
8695
8695
  */
8696
8696
  SpanHeadSamplingRule: {
8697
8697
  filter?: components["schemas"]["HeadSamplingFilter"];
@@ -9949,8 +9949,9 @@ export interface components {
9949
9949
  type: string;
9950
9950
  };
9951
9951
  /**
9952
- * Trace-Scope Head Sampling Rules
9953
- * @description Head sampling rule evaluated per trace. Matched traces bypass trace assembly.
9952
+ * Trace Head Sampling Rules (Deprecated)
9953
+ * @deprecated
9954
+ * @description Deprecated. Head sampling rule evaluated per trace. Use traceHeadSamplingRate on TraceReducer instead.
9954
9955
  */
9955
9956
  TraceHeadSamplingRule: {
9956
9957
  filter?: components["schemas"]["HeadSamplingFilter"];
@@ -9997,7 +9998,7 @@ export interface components {
9997
9998
  */
9998
9999
  traceCollectionDuration: string;
9999
10000
  });
10000
- /** @description Reduces trace volume by routing spans through configurable head sampling rules and tail sampling, then emits the retained spans. */
10001
+ /** @description Reduces trace volume by applying a uniform trace head sampling rate and configurable span head sampling rules with optional tail sampling, then emits the retained spans. */
10001
10002
  TraceReducer: {
10002
10003
  /**
10003
10004
  * @description Actions to execute on traces. Actions process spans after sampling decisions have been made and can trigger operations like logs backfill.
@@ -10014,20 +10015,27 @@ export interface components {
10014
10015
  /** @example operation_name */
10015
10016
  name: string;
10016
10017
  /**
10017
- * Span-Scope Head Sampling Rules
10018
- * @description Span-scope head sampling rules. Matched spans override the tail sampler's drop decision. Requires tail sampling to be configured. Order is significant; first match wins for metric attribution.
10018
+ * Span Head Sampling Rules
10019
+ * @description Span head sampling rules. Matched spans are retained as SPAN_HEAD_SAMPLED. If tail sampling is configured, matched spans participate in trace assembly before output; otherwise, matched spans are emitted directly. Order is significant; first match wins for metric attribution. Trace head sampling wins when both match the same span.
10019
10020
  * @default []
10020
10021
  */
10021
10022
  spanHeadSamplingRules?: components["schemas"]["SpanHeadSamplingRule"][];
10022
10023
  tailSampling?: components["schemas"]["TailSamplingConfig"];
10023
10024
  /**
10024
- * Trace-Scope Head Sampling Rules
10025
- * @description Trace-scope head sampling rules. Matched traces bypass trace assembly and tail sampling. Order is significant; first match wins for metric attribution.
10025
+ * Trace Head Sampling Rate
10026
+ * Format: double
10027
+ * @description Uniform trace head sampling rate in [0.0, 1.0]. When set, all spans sharing a traceId are retained together as HEAD_SAMPLED at this probability. Mutually exclusive with traceHeadSamplingRules (scalar wins when both present).
10028
+ */
10029
+ traceHeadSamplingRate?: number;
10030
+ /**
10031
+ * Trace Head Sampling Rules (Deprecated)
10032
+ * @deprecated
10033
+ * @description Deprecated: use traceHeadSamplingRate instead. Kept for backwards compatibility with stored configurations. When traceHeadSamplingRate is absent, the effective rate is max(rate) over this list (filters are ignored).
10026
10034
  * @default []
10027
10035
  */
10028
10036
  traceHeadSamplingRules?: components["schemas"]["TraceHeadSamplingRule"][];
10029
10037
  /**
10030
- * @description Reduces trace volume by sampling CompleteSpan instances. Combines configurable head sampling rules (per-trace bypass and per-span override) with optional quantile-based tail sampling. (enum property replaced by openapi-typescript)
10038
+ * @description Reduces trace volume by sampling CompleteSpan instances. Combines a uniform trace head sampling rate (whole-trace retention) and per-span head sampling rules with optional quantile-based tail sampling. (enum property replaced by openapi-typescript)
10031
10039
  * @enum {string}
10032
10040
  */
10033
10041
  type: TraceReducerType;