@grepr/cli 1.6.16-5c2588b → 1.6.18-d452366
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
|
|
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"]["
|
|
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.
|
|
@@ -10016,7 +9939,6 @@ export type SchemaMetricData = components["schemas"]["MetricData"];
|
|
|
10016
9939
|
export type SchemaMetricEventPredicate = components["schemas"]["MetricEventPredicate"];
|
|
10017
9940
|
export type SchemaMetricNameFilter = components["schemas"]["MetricNameFilter"];
|
|
10018
9941
|
export type SchemaMetricReducer = components["schemas"]["MetricReducer"];
|
|
10019
|
-
export type SchemaMetricReducerSql = components["schemas"]["MetricReducerSql"];
|
|
10020
9942
|
export type SchemaMetricsIcebergTableSink = components["schemas"]["MetricsIcebergTableSink"];
|
|
10021
9943
|
export type SchemaMetricsIcebergTableSource = components["schemas"]["MetricsIcebergTableSource"];
|
|
10022
9944
|
export type SchemaMetricsSynchronousSink = components["schemas"]["MetricsSynchronousSink"];
|
|
@@ -17450,9 +17372,6 @@ export declare enum MetricEventPredicateType {
|
|
|
17450
17372
|
export declare enum MetricReducerType {
|
|
17451
17373
|
metric_reducer = "metric-reducer"
|
|
17452
17374
|
}
|
|
17453
|
-
export declare enum MetricReducerSqlType {
|
|
17454
|
-
metric_reducer_sql = "metric-reducer-sql"
|
|
17455
|
-
}
|
|
17456
17375
|
export declare enum MetricsIcebergTableSinkType {
|
|
17457
17376
|
metrics_iceberg_table_sink = "metrics-iceberg-table-sink"
|
|
17458
17377
|
}
|