@grepr/cli 1.6.15-5ac62b4 → 1.6.17-dd6a7c6

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.
@@ -2616,7 +2616,7 @@ export interface components {
2616
2616
  AggregationDecl: {
2617
2617
  /** @description Function arguments. Heterogeneous; validated at pipeline construction. */
2618
2618
  args?: Record<string, never>[];
2619
- /** @description Output suffix. Omitted = preserve source metric name. */
2619
+ /** @description Output suffix. Omitted = preserve source metric name; in rule conditions the output is addressed as `<alias>.val` (at most one as-less aggregation per block). */
2620
2620
  as?: string;
2621
2621
  /**
2622
2622
  * @description Aggregation function.
@@ -3134,6 +3134,13 @@ export interface components {
3134
3134
  identifyingAttributes?: string[];
3135
3135
  /** @description Level-prefixed attribute keys describing cohorts. */
3136
3136
  metadataAttributes?: string[];
3137
+ /**
3138
+ * Format: int32
3139
+ * @description Parallelism multiplier for cohort outputs (anomaly rules ignore this). Splits each cohort across 2^n CohortCalc instances by the low n bits of tsIdLo, trading parallelism for partial per-shard aggregation. 0 = one instance per cohort.
3140
+ * @default 0
3141
+ * @example 4
3142
+ */
3143
+ numShardBits?: number;
3137
3144
  /** @description Ordered cohort-output entries (first-match-wins). */
3138
3145
  outputs?: components["schemas"]["CohortOutputDecl"][];
3139
3146
  };
@@ -5779,7 +5786,7 @@ export interface components {
5779
5786
  * ]
5780
5787
  */
5781
5788
  groupBy: string[];
5782
- /** @description Metric name or nested-aggregation alias. Null for dimension views. */
5789
+ /** @description Exact metric name or nested-aggregation alias. Mutually exclusive with filters.metricName. Null for dimension views (when filters is also unset). */
5783
5790
  source?: string;
5784
5791
  /**
5785
5792
  * Format: ISO-8601
@@ -5871,90 +5878,6 @@ export interface components {
5871
5878
  */
5872
5879
  type: MetricReducerType;
5873
5880
  };
5874
- /** @description SQL-based metric reducer that reduces metric volume through time and space aggregation while preserving anomaly fidelity. */
5875
- MetricReducerSql: {
5876
- /**
5877
- * Format: ISO-8601
5878
- * @description Time alignment window for aggregation.
5879
- * @default PT20S
5880
- * @example PT20.345S
5881
- */
5882
- alignmentWindow?: string;
5883
- /**
5884
- * @description Attribute value filters with glob pattern support. Each key must be prefixed with its OTLP level ('resource.', 'scope.', 'series.'). Values support wildcard patterns: 'prefix*', '*suffix', '*infix*', 'prefix*suffix', or exact match. All filters must match for the metric to be processed.
5885
- * @example {
5886
- * "resource.env": "production"
5887
- * }
5888
- */
5889
- attributeFilters?: {
5890
- [key: string]: string;
5891
- };
5892
- /**
5893
- * @description Attribute keys that group objects into cohorts. Each key must be prefixed with its OTLP level. Must be disjoint from identifying attributes.
5894
- * @example [
5895
- * "resource.cluster",
5896
- * "resource.region"
5897
- * ]
5898
- */
5899
- cohortAttributes?: string[];
5900
- /** @description Attribute keys that describe cohorts but may change. */
5901
- cohortMetadataAttributes?: string[];
5902
- /**
5903
- * Format: ISO-8601
5904
- * @description Batching interval for sending data out.
5905
- * @default PT20S
5906
- * @example PT20.345S
5907
- */
5908
- emitInterval?: string;
5909
- /**
5910
- * @description Attribute keys that uniquely identify an individual object. Each key must be prefixed with its OTLP level: 'resource.', 'scope.', or 'series.'.
5911
- * @example [
5912
- * "resource.host"
5913
- * ]
5914
- */
5915
- identifyingAttributes: string[];
5916
- /**
5917
- * Format: ISO-8601
5918
- * @description Amount of time to wait for late data. This delays emitting the data to make sure all data arrives before emitting an aggregation.
5919
- * @default PT10S
5920
- * @example PT20.345S
5921
- */
5922
- lateArrivalWaitDuration?: string;
5923
- /**
5924
- * @description Attribute keys that describe the object but may change. Each key must be prefixed with its OTLP level.
5925
- * @example [
5926
- * "resource.os.version"
5927
- * ]
5928
- */
5929
- metadataAttributes?: string[];
5930
- /** @description Metric name patterns to include. If empty, all metrics matching the attribute filters are included. */
5931
- metricFilters?: string[];
5932
- /** @example operation_name */
5933
- name: string;
5934
- /**
5935
- * @description Per-metric-name overrides for space aggregation type. Values use reducer agg type constants: 0=LATEST, 1=SUM, 2=AVG.
5936
- * @example {
5937
- * "system.cpu.utilization": 2
5938
- * }
5939
- */
5940
- spaceAggTypeOverrides?: {
5941
- [key: string]: string;
5942
- };
5943
- /**
5944
- * @description Per-metric-name overrides for time aggregation type. Values use reducer agg type constants: 0=LATEST, 1=SUM, 2=AVG.
5945
- * @example {
5946
- * "system.cpu.utilization": 2
5947
- * }
5948
- */
5949
- timeAggTypeOverrides?: {
5950
- [key: string]: string;
5951
- };
5952
- /**
5953
- * @description SQL-based metric reducer. (enum property replaced by openapi-typescript)
5954
- * @enum {string}
5955
- */
5956
- type: MetricReducerSqlType;
5957
- };
5958
5881
  MetricsIcebergTableSink: {
5959
5882
  /** @description The id of the dataset to write to */
5960
5883
  datasetId: string;
@@ -6219,7 +6142,7 @@ export interface components {
6219
6142
  /** @example operation_name */
6220
6143
  name: string;
6221
6144
  type: string;
6222
- } & (components["schemas"]["LogsEventSampler"] | components["schemas"]["LogsBranch"] | components["schemas"]["LogsFilter"] | components["schemas"]["GrokParser"] | components["schemas"]["JsonLogProcessor"] | components["schemas"]["LogAttributesRemapper"] | components["schemas"]["LogReducer"] | components["schemas"]["LogTransformAction"] | components["schemas"]["LlmPrompt"] | components["schemas"]["PatternMatcher"] | components["schemas"]["LogsIcebergTableSink"] | components["schemas"]["PatternLookupIcebergTableSink"] | components["schemas"]["EventDedupIcebergTableSink"] | components["schemas"]["SpanDedupIcebergTableSink"] | components["schemas"]["LogsIcebergTableSource"] | components["schemas"]["LlmPromptResultsIcebergTableSource"] | components["schemas"]["MetricsIcebergTableSource"] | components["schemas"]["TracesIcebergTableSource"] | components["schemas"]["SpansBackfillIcebergTableSource"] | components["schemas"]["MetricsIcebergTableSink"] | components["schemas"]["DatadogLogCloudSource"] | components["schemas"]["DatadogLogAgentSource"] | components["schemas"]["DatadogTraceAgentSource"] | components["schemas"]["GreprVendorSource"] | components["schemas"]["GreprMetricsSource"] | components["schemas"]["DatadogLogSink"] | components["schemas"]["DatadogTraceSink"] | components["schemas"]["NewRelicLogSink"] | components["schemas"]["SplunkLogSink"] | components["schemas"]["SumoLogSource"] | components["schemas"]["SumoLogSink"] | components["schemas"]["OtlpLogSink"] | components["schemas"]["OtlpTraceSink"] | components["schemas"]["IcebergLogsReplaySource"] | components["schemas"]["LogsBackfillFlinkSource"] | components["schemas"]["LogsRuleEngine"] | components["schemas"]["ReducerLogsQuerySource"] | components["schemas"]["LogsSynchronousSink"] | components["schemas"]["MetricsSynchronousSink"] | components["schemas"]["VariantSynchronousSink"] | components["schemas"]["SpansSynchronousSink"] | components["schemas"]["DatadogMetricsSink"] | components["schemas"]["GreprReducerLogSource"] | components["schemas"]["GreprRawLogsSource"] | components["schemas"]["GreprLlmPromptResultsSource"] | components["schemas"]["SplunkLogAgentSource"] | components["schemas"]["SplunkLogHttpSource"] | components["schemas"]["NewRelicLogAgentSource"] | components["schemas"]["OtlpLogAgentSource"] | components["schemas"]["OtlpTraceAgentSource"] | components["schemas"]["TraceSampler"] | components["schemas"]["S3LogsFileSource"] | components["schemas"]["CloudTrailLogsFileSource"] | components["schemas"]["GreprUploadedLogFileSource"] | components["schemas"]["TemplateOperation"] | components["schemas"]["SqlOperation"] | components["schemas"]["TraceReducer"] | components["schemas"]["MetricReducerSql"] | components["schemas"]["MetricReducer"] | components["schemas"]["DatadogStatsSink"] | components["schemas"]["LogsValuesSource"] | components["schemas"]["LogRulesApplication"] | components["schemas"]["TriggerActionOp"] | components["schemas"]["EntityContextAggregation"]);
6145
+ } & (components["schemas"]["LogsEventSampler"] | components["schemas"]["LogsBranch"] | components["schemas"]["LogsFilter"] | components["schemas"]["GrokParser"] | components["schemas"]["JsonLogProcessor"] | components["schemas"]["LogAttributesRemapper"] | components["schemas"]["LogReducer"] | components["schemas"]["LogTransformAction"] | components["schemas"]["LlmPrompt"] | components["schemas"]["PatternMatcher"] | components["schemas"]["LogsIcebergTableSink"] | components["schemas"]["PatternLookupIcebergTableSink"] | components["schemas"]["EventDedupIcebergTableSink"] | components["schemas"]["SpanDedupIcebergTableSink"] | components["schemas"]["LogsIcebergTableSource"] | components["schemas"]["LlmPromptResultsIcebergTableSource"] | components["schemas"]["MetricsIcebergTableSource"] | components["schemas"]["TracesIcebergTableSource"] | components["schemas"]["SpansBackfillIcebergTableSource"] | components["schemas"]["MetricsIcebergTableSink"] | components["schemas"]["DatadogLogCloudSource"] | components["schemas"]["DatadogLogAgentSource"] | components["schemas"]["DatadogTraceAgentSource"] | components["schemas"]["GreprVendorSource"] | components["schemas"]["GreprMetricsSource"] | components["schemas"]["DatadogLogSink"] | components["schemas"]["DatadogTraceSink"] | components["schemas"]["NewRelicLogSink"] | components["schemas"]["SplunkLogSink"] | components["schemas"]["SumoLogSource"] | components["schemas"]["SumoLogSink"] | components["schemas"]["OtlpLogSink"] | components["schemas"]["OtlpTraceSink"] | components["schemas"]["IcebergLogsReplaySource"] | components["schemas"]["LogsBackfillFlinkSource"] | components["schemas"]["LogsRuleEngine"] | components["schemas"]["ReducerLogsQuerySource"] | components["schemas"]["LogsSynchronousSink"] | components["schemas"]["MetricsSynchronousSink"] | components["schemas"]["VariantSynchronousSink"] | components["schemas"]["SpansSynchronousSink"] | components["schemas"]["DatadogMetricsSink"] | components["schemas"]["GreprReducerLogSource"] | components["schemas"]["GreprRawLogsSource"] | components["schemas"]["GreprLlmPromptResultsSource"] | components["schemas"]["SplunkLogAgentSource"] | components["schemas"]["SplunkLogHttpSource"] | components["schemas"]["NewRelicLogAgentSource"] | components["schemas"]["OtlpLogAgentSource"] | components["schemas"]["OtlpTraceAgentSource"] | components["schemas"]["TraceSampler"] | components["schemas"]["S3LogsFileSource"] | components["schemas"]["CloudTrailLogsFileSource"] | components["schemas"]["GreprUploadedLogFileSource"] | components["schemas"]["TemplateOperation"] | components["schemas"]["SqlOperation"] | components["schemas"]["TraceReducer"] | components["schemas"]["MetricReducer"] | components["schemas"]["DatadogStatsSink"] | components["schemas"]["LogsValuesSource"] | components["schemas"]["LogRulesApplication"] | components["schemas"]["TriggerActionOp"] | components["schemas"]["EntityContextAggregation"]);
6223
6146
  OrQueryNode: {
6224
6147
  /**
6225
6148
  * @description This is a list of expressions that are combined with an OR operator.
@@ -7796,17 +7719,17 @@ export interface components {
7796
7719
  */
7797
7720
  operationName?: string;
7798
7721
  /**
7799
- * Format: int64
7800
- * @description 8-byte parent span identifier as long. Returns 0 for root spans.
7722
+ * @description 64-bit parent span identifier as a 16-character hex string; null for root spans.
7723
+ * @example 1a2b3c4d5e6f7081
7801
7724
  */
7802
- parentSpanId?: number;
7725
+ parentSpanId?: string;
7803
7726
  /** @description True if this is a root span (no parent). */
7804
7727
  root?: boolean;
7805
7728
  /**
7806
- * Format: int64
7807
- * @description 8-byte span identifier as long.
7729
+ * @description 64-bit span identifier as a 16-character hex string.
7730
+ * @example 7f7e8d9a0b1c2d3e
7808
7731
  */
7809
- spanId?: number;
7732
+ spanId?: string;
7810
7733
  /**
7811
7734
  * @description The type of span
7812
7735
  * @example SERVER
@@ -7820,15 +7743,10 @@ export interface components {
7820
7743
  startTimeNanos?: number;
7821
7744
  status?: components["schemas"]["Status"];
7822
7745
  /**
7823
- * Format: int64
7824
- * @description High 8 bytes of 16-byte trace identifier.
7825
- */
7826
- traceIdHigh?: number;
7827
- /**
7828
- * Format: int64
7829
- * @description Low 8 bytes of 16-byte trace identifier.
7746
+ * @description 128-bit trace identifier as a 32-character hex string.
7747
+ * @example 6a33267c000000001001119764423b8d
7830
7748
  */
7831
- traceIdLow?: number;
7749
+ traceId?: string;
7832
7750
  /**
7833
7751
  * @description Trace state information in W3C format.
7834
7752
  * @example rojo=00f067aa0ba902b7,congo=t61rcWkgMzE
@@ -7893,20 +7811,15 @@ export interface components {
7893
7811
  */
7894
7812
  flags?: number;
7895
7813
  /**
7896
- * Format: int64
7897
- * @description 8-byte span identifier of the linked span as long.
7814
+ * @description 64-bit span identifier of the linked span as a 16-character hex string.
7815
+ * @example 7f7e8d9a0b1c2d3e
7898
7816
  */
7899
- spanId?: number;
7817
+ spanId?: string;
7900
7818
  /**
7901
- * Format: int64
7902
- * @description High 8 bytes of 16-byte trace identifier of the linked span.
7819
+ * @description 128-bit trace identifier of the linked span as a 32-character hex string.
7820
+ * @example 6a33267c000000001001119764423b8d
7903
7821
  */
7904
- traceIdHigh?: number;
7905
- /**
7906
- * Format: int64
7907
- * @description Low 8 bytes of 16-byte trace identifier of the linked span.
7908
- */
7909
- traceIdLow?: number;
7822
+ traceId?: string;
7910
7823
  /**
7911
7824
  * @description Optional trace state information.
7912
7825
  * @example rojo=00f067aa0ba902b7,congo=t61rcWkgMzE
@@ -7922,12 +7835,34 @@ export interface components {
7922
7835
  * @example 2023-01-01T01:00:00Z
7923
7836
  */
7924
7837
  end: string;
7838
+ /**
7839
+ * @description Filter by error status
7840
+ * @example true
7841
+ */
7842
+ hasError?: boolean;
7843
+ /**
7844
+ * @description Filter by parent span ID (null for root spans only)
7845
+ * @example true
7846
+ */
7847
+ isRootSpan?: boolean;
7925
7848
  /**
7926
7849
  * Format: int32
7927
7850
  * @description The maximum number of rows to process
7928
7851
  * @default 2500
7929
7852
  */
7930
7853
  limit?: number;
7854
+ /**
7855
+ * Format: int64
7856
+ * @description Filter by maximum duration in nanoseconds
7857
+ * @example 5000000000
7858
+ */
7859
+ maxDuration?: number;
7860
+ /**
7861
+ * Format: int64
7862
+ * @description Filter by minimum duration in nanoseconds
7863
+ * @example 1000000000
7864
+ */
7865
+ minDuration?: number;
7931
7866
  /** @example operation_name */
7932
7867
  name: string;
7933
7868
  /**
@@ -7936,7 +7871,23 @@ export interface components {
7936
7871
  * @default 0
7937
7872
  */
7938
7873
  offset?: number;
7874
+ /**
7875
+ * @description Filter by operation names (exact match)
7876
+ * @example [
7877
+ * "process-payment",
7878
+ * "validate-user"
7879
+ * ]
7880
+ */
7881
+ operationNames?: string[];
7939
7882
  query: components["schemas"]["query"];
7883
+ /**
7884
+ * @description Filter by service names (exact match)
7885
+ * @example [
7886
+ * "checkout-service",
7887
+ * "user-service"
7888
+ * ]
7889
+ */
7890
+ serviceNames?: string[];
7940
7891
  /**
7941
7892
  * @description The order in which the rows should be sorted by
7942
7893
  * @enum {string}
@@ -7948,6 +7899,21 @@ export interface components {
7948
7899
  * @example 2023-01-01T00:00:00Z
7949
7900
  */
7950
7901
  start: string;
7902
+ /**
7903
+ * @description Filter by trace IDs (32-character hex format)
7904
+ * @example [
7905
+ * "6a33267c000000001001119764423b8d"
7906
+ * ]
7907
+ */
7908
+ traceIds?: string[];
7909
+ /**
7910
+ * @description Filter by trace signatures (supports wildcards with *)
7911
+ * @example [
7912
+ * "user-login-*",
7913
+ * "checkout-*"
7914
+ * ]
7915
+ */
7916
+ traceSignatures?: string[];
7951
7917
  /**
7952
7918
  * @description Reads spans from an Iceberg table for backfill, skipping spans already sent to the given vendor sinks (idempotent backfill source). (enum property replaced by openapi-typescript)
7953
7919
  * @enum {string}
@@ -9116,12 +9082,34 @@ export interface components {
9116
9082
  * @example 2023-01-01T01:00:00Z
9117
9083
  */
9118
9084
  end: string;
9085
+ /**
9086
+ * @description Filter by error status
9087
+ * @example true
9088
+ */
9089
+ hasError?: boolean;
9090
+ /**
9091
+ * @description Filter by parent span ID (null for root spans only)
9092
+ * @example true
9093
+ */
9094
+ isRootSpan?: boolean;
9119
9095
  /**
9120
9096
  * Format: int32
9121
9097
  * @description The maximum number of rows to process
9122
9098
  * @default 2500
9123
9099
  */
9124
9100
  limit?: number;
9101
+ /**
9102
+ * Format: int64
9103
+ * @description Filter by maximum duration in nanoseconds
9104
+ * @example 5000000000
9105
+ */
9106
+ maxDuration?: number;
9107
+ /**
9108
+ * Format: int64
9109
+ * @description Filter by minimum duration in nanoseconds
9110
+ * @example 1000000000
9111
+ */
9112
+ minDuration?: number;
9125
9113
  /** @example operation_name */
9126
9114
  name: string;
9127
9115
  /**
@@ -9130,7 +9118,23 @@ export interface components {
9130
9118
  * @default 0
9131
9119
  */
9132
9120
  offset?: number;
9121
+ /**
9122
+ * @description Filter by operation names (exact match)
9123
+ * @example [
9124
+ * "process-payment",
9125
+ * "validate-user"
9126
+ * ]
9127
+ */
9128
+ operationNames?: string[];
9133
9129
  query: components["schemas"]["query"];
9130
+ /**
9131
+ * @description Filter by service names (exact match)
9132
+ * @example [
9133
+ * "checkout-service",
9134
+ * "user-service"
9135
+ * ]
9136
+ */
9137
+ serviceNames?: string[];
9134
9138
  /**
9135
9139
  * @description The order in which the rows should be sorted by
9136
9140
  * @enum {string}
@@ -9142,6 +9146,21 @@ export interface components {
9142
9146
  * @example 2023-01-01T00:00:00Z
9143
9147
  */
9144
9148
  start: string;
9149
+ /**
9150
+ * @description Filter by trace IDs (32-character hex format)
9151
+ * @example [
9152
+ * "6a33267c000000001001119764423b8d"
9153
+ * ]
9154
+ */
9155
+ traceIds?: string[];
9156
+ /**
9157
+ * @description Filter by trace signatures (supports wildcards with *)
9158
+ * @example [
9159
+ * "user-login-*",
9160
+ * "checkout-*"
9161
+ * ]
9162
+ */
9163
+ traceSignatures?: string[];
9145
9164
  /**
9146
9165
  * @description Reads traces out of an Iceberg Table for processing. (enum property replaced by openapi-typescript)
9147
9166
  * @enum {string}
@@ -9920,7 +9939,6 @@ export type SchemaMetricData = components["schemas"]["MetricData"];
9920
9939
  export type SchemaMetricEventPredicate = components["schemas"]["MetricEventPredicate"];
9921
9940
  export type SchemaMetricNameFilter = components["schemas"]["MetricNameFilter"];
9922
9941
  export type SchemaMetricReducer = components["schemas"]["MetricReducer"];
9923
- export type SchemaMetricReducerSql = components["schemas"]["MetricReducerSql"];
9924
9942
  export type SchemaMetricsIcebergTableSink = components["schemas"]["MetricsIcebergTableSink"];
9925
9943
  export type SchemaMetricsIcebergTableSource = components["schemas"]["MetricsIcebergTableSource"];
9926
9944
  export type SchemaMetricsSynchronousSink = components["schemas"]["MetricsSynchronousSink"];
@@ -17354,9 +17372,6 @@ export declare enum MetricEventPredicateType {
17354
17372
  export declare enum MetricReducerType {
17355
17373
  metric_reducer = "metric-reducer"
17356
17374
  }
17357
- export declare enum MetricReducerSqlType {
17358
- metric_reducer_sql = "metric-reducer-sql"
17359
- }
17360
17375
  export declare enum MetricsIcebergTableSinkType {
17361
17376
  metrics_iceberg_table_sink = "metrics-iceberg-table-sink"
17362
17377
  }
@@ -17446,7 +17461,7 @@ export declare enum ReadFeatureFlags {
17446
17461
  S3_LOGS_FILE_SOURCE = "S3_LOGS_FILE_SOURCE",
17447
17462
  PIPELINE_TEMPLATES = "PIPELINE_TEMPLATES",
17448
17463
  AI_WORKFLOWS = "AI_WORKFLOWS",
17449
- ICEBERG_LOG_SOURCE = "ICEBERG_LOG_SOURCE",
17464
+ SEARCH_ICEBERG_SOURCE = "SEARCH_ICEBERG_SOURCE",
17450
17465
  QUERY_JOBS = "QUERY_JOBS",
17451
17466
  AUTH0_SSO_CONNECTION = "AUTH0_SSO_CONNECTION",
17452
17467
  DATASET_TABLE_CONFIG = "DATASET_TABLE_CONFIG",