@kong-ui-public/analytics-utilities 5.7.0 → 5.8.0
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.
- package/dist/types/types/explore/advanced.d.ts +5 -2
- package/dist/types/types/explore/advanced.d.ts.map +1 -1
- package/dist/types/types/explore/ai.d.ts +5 -2
- package/dist/types/types/explore/ai.d.ts.map +1 -1
- package/dist/types/types/explore/basic.d.ts +6 -2
- package/dist/types/types/explore/basic.d.ts.map +1 -1
- package/dist/vitals-utilities.cjs.map +1 -1
- package/dist/vitals-utilities.es.js.map +1 -1
- package/dist/vitals-utilities.umd.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { BasicExploreFilter, BasicExploreInFilterV2, BasicExploreQuery } from './basic';
|
|
1
|
+
import type { BasicExploreEmptyFilterV2, BasicExploreFilter, BasicExploreInFilterV2, BasicExploreQuery } from './basic';
|
|
2
2
|
export declare const queryableExploreDimensions: readonly ["api_product", "api_product_version", "control_plane", "control_plane_group", "data_plane_node", "gateway_service", "route", "status_code", "status_code_grouped", "time", "application", "consumer", "iso_code"];
|
|
3
3
|
export type QueryableExploreDimensions = typeof queryableExploreDimensions[number];
|
|
4
4
|
export declare const filterableExploreDimensions: ["api_product", "api_product_version", "control_plane", "control_plane_group", "data_plane_node", "gateway_service", "route", "status_code", "status_code_grouped", "application", "consumer", "iso_code"];
|
|
@@ -9,9 +9,12 @@ export interface ExploreFilter extends Omit<BasicExploreFilter, 'dimension'> {
|
|
|
9
9
|
export interface ExploreInFilterV2 extends Omit<BasicExploreInFilterV2, 'field'> {
|
|
10
10
|
field: FilterableExploreDimensions;
|
|
11
11
|
}
|
|
12
|
+
export interface ExploreEmptyFilterV2 extends Omit<BasicExploreEmptyFilterV2, 'field'> {
|
|
13
|
+
field: FilterableExploreDimensions;
|
|
14
|
+
}
|
|
12
15
|
export declare const exploreAggregations: readonly ["active_services", "request_count", "request_per_minute", "response_latency_average", "response_latency_p99", "response_latency_p95", "response_latency_p50", "upstream_latency_p99", "upstream_latency_p95", "upstream_latency_p50", "upstream_latency_average", "kong_latency_p99", "kong_latency_p95", "kong_latency_p50", "kong_latency_average", "response_size_p99", "response_size_p95", "response_size_p50", "request_size_p99", "request_size_p95", "request_size_p50", "request_size_average", "response_size_average"];
|
|
13
16
|
export type ExploreAggregations = typeof exploreAggregations[number];
|
|
14
|
-
export type ExploreFilterAll = ExploreFilter | ExploreInFilterV2;
|
|
17
|
+
export type ExploreFilterAll = ExploreFilter | ExploreInFilterV2 | ExploreEmptyFilterV2;
|
|
15
18
|
export interface ExploreQuery extends Omit<BasicExploreQuery, 'metrics' | 'dimensions' | 'filters'> {
|
|
16
19
|
metrics?: ExploreAggregations[];
|
|
17
20
|
dimensions?: QueryableExploreDimensions[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"advanced.d.ts","sourceRoot":"","sources":["../../../../src/types/explore/advanced.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,kBAAkB,EAAE,sBAAsB,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"advanced.d.ts","sourceRoot":"","sources":["../../../../src/types/explore/advanced.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,yBAAyB,EAAE,kBAAkB,EAAE,sBAAsB,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA;AAGvH,eAAO,MAAM,0BAA0B,6NAK7B,CAAA;AAEV,MAAM,MAAM,0BAA0B,GAAG,OAAO,0BAA0B,CAAC,MAAM,CAAC,CAAA;AAElF,eAAO,MAAM,2BAA2B,4MAA6C,CAAA;AAErF,MAAM,MAAM,2BAA2B,GAAG,OAAO,2BAA2B,CAAC,MAAM,CAAC,CAAA;AAEpF,MAAM,WAAW,aAAc,SAAQ,IAAI,CAAC,kBAAkB,EAAE,WAAW,CAAC;IAC1E,SAAS,EAAE,2BAA2B,CAAA;CACvC;AAED,MAAM,WAAW,iBAAkB,SAAQ,IAAI,CAAC,sBAAsB,EAAE,OAAO,CAAC;IAC9E,KAAK,EAAE,2BAA2B,CAAA;CACnC;AAED,MAAM,WAAW,oBAAqB,SAAQ,IAAI,CAAC,yBAAyB,EAAE,OAAO,CAAC;IACpF,KAAK,EAAE,2BAA2B,CAAA;CACnC;AAED,eAAO,MAAM,mBAAmB,6gBAqBtB,CAAA;AAEV,MAAM,MAAM,mBAAmB,GAAG,OAAO,mBAAmB,CAAC,MAAM,CAAC,CAAA;AAEpE,MAAM,MAAM,gBAAgB,GAAG,aAAa,GAAG,iBAAiB,GAAG,oBAAoB,CAAA;AAEvF,MAAM,WAAW,YAAa,SAAQ,IAAI,CAAC,iBAAiB,EAAE,SAAS,GAAG,YAAY,GAAG,SAAS,CAAC;IACjG,OAAO,CAAC,EAAE,mBAAmB,EAAE,CAAA;IAC/B,UAAU,CAAC,EAAE,0BAA0B,EAAE,CAAA;IACzC,OAAO,CAAC,EAAE,gBAAgB,EAAE,CAAA;CAC7B"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { BasicExploreFilter, BasicExploreInFilterV2, BasicExploreQuery } from './basic';
|
|
1
|
+
import type { BasicExploreEmptyFilterV2, BasicExploreFilter, BasicExploreInFilterV2, BasicExploreQuery } from './basic';
|
|
2
2
|
export declare const queryableAiExploreDimensions: readonly ["control_plane", "control_plane_group", "gateway_service", "consumer", "application", "route", "ai_provider", "ai_response_model", "ai_request_model", "llm_cache_status", "llm_embeddings_provider", "llm_embeddings_model", "time"];
|
|
3
3
|
export type QueryableAiExploreDimensions = typeof queryableAiExploreDimensions[number];
|
|
4
4
|
export declare const filterableAiExploreDimensions: ["control_plane", "control_plane_group", "gateway_service", "consumer", "application", "route", "ai_provider", "ai_response_model", "ai_request_model", "llm_cache_status", "llm_embeddings_provider", "llm_embeddings_model"];
|
|
@@ -9,9 +9,12 @@ export interface AiExploreFilter extends Omit<BasicExploreFilter, 'dimension'> {
|
|
|
9
9
|
export interface AiExploreInFilterV2 extends Omit<BasicExploreInFilterV2, 'field'> {
|
|
10
10
|
field: FilterableAiExploreDimensions;
|
|
11
11
|
}
|
|
12
|
+
export interface AiExploreEmptyFilterV2 extends Omit<BasicExploreEmptyFilterV2, 'field'> {
|
|
13
|
+
field: FilterableAiExploreDimensions;
|
|
14
|
+
}
|
|
12
15
|
export declare const aiExploreAggregations: readonly ["total_tokens", "prompt_tokens", "completion_tokens", "ai_request_count", "cost", "llm_cache_embeddings_latency_average", "llm_cache_fetch_latency_average", "llm_latency_average", "llm_embeddings_tokens", "llm_embeddings_cost"];
|
|
13
16
|
export type AiExploreAggregations = typeof aiExploreAggregations[number];
|
|
14
|
-
export type AiExploreFilterAll = AiExploreFilter | AiExploreInFilterV2;
|
|
17
|
+
export type AiExploreFilterAll = AiExploreFilter | AiExploreInFilterV2 | AiExploreEmptyFilterV2;
|
|
15
18
|
export interface AiExploreQuery extends Omit<BasicExploreQuery, 'metrics' | 'dimensions' | 'filters'> {
|
|
16
19
|
metrics?: AiExploreAggregations[];
|
|
17
20
|
dimensions?: QueryableAiExploreDimensions[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ai.d.ts","sourceRoot":"","sources":["../../../../src/types/explore/ai.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,kBAAkB,EAAE,sBAAsB,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"ai.d.ts","sourceRoot":"","sources":["../../../../src/types/explore/ai.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,yBAAyB,EAAE,kBAAkB,EAAE,sBAAsB,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA;AAEvH,eAAO,MAAM,4BAA4B,iPAc/B,CAAA;AAEV,MAAM,MAAM,4BAA4B,GAAG,OAAO,4BAA4B,CAAC,MAAM,CAAC,CAAA;AAEtF,eAAO,MAAM,6BAA6B,gOAA+C,CAAA;AAEzF,MAAM,MAAM,6BAA6B,GAAG,OAAO,4BAA4B,CAAC,MAAM,CAAC,CAAA;AAEvF,MAAM,WAAW,eAAgB,SAAQ,IAAI,CAAC,kBAAkB,EAAE,WAAW,CAAC;IAC5E,SAAS,EAAE,6BAA6B,CAAA;CACzC;AAED,MAAM,WAAW,mBAAoB,SAAQ,IAAI,CAAC,sBAAsB,EAAE,OAAO,CAAC;IAChF,KAAK,EAAE,6BAA6B,CAAA;CACrC;AAED,MAAM,WAAW,sBAAuB,SAAQ,IAAI,CAAC,yBAAyB,EAAE,OAAO,CAAC;IACtF,KAAK,EAAE,6BAA6B,CAAA;CACrC;AAED,eAAO,MAAM,qBAAqB,+OAWxB,CAAA;AAEV,MAAM,MAAM,qBAAqB,GAAG,OAAO,qBAAqB,CAAC,MAAM,CAAC,CAAA;AAExE,MAAM,MAAM,kBAAkB,GAAG,eAAe,GAAG,mBAAmB,GAAG,sBAAsB,CAAA;AAE/F,MAAM,WAAW,cAAe,SAAQ,IAAI,CAAC,iBAAiB,EAAE,SAAS,GAAG,YAAY,GAAG,SAAS,CAAC;IACnG,OAAO,CAAC,EAAE,qBAAqB,EAAE,CAAA;IACjC,UAAU,CAAC,EAAE,4BAA4B,EAAE,CAAA;IAC3C,OAAO,CAAC,EAAE,kBAAkB,EAAE,CAAA;CAC/B"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ExploreFilterTypesV2, GranularityValues, TimeRangeV4 } from './common';
|
|
1
|
+
import type { ExploreFilterTypesV2, GranularityValues, RequestFilterTypeEmptyV2, TimeRangeV4 } from './common';
|
|
2
2
|
export declare const queryableBasicExploreDimensions: readonly ["api_product", "api_product_version", "control_plane", "control_plane_group", "data_plane_node", "gateway_service", "route", "status_code", "status_code_grouped", "time"];
|
|
3
3
|
export type QueryableBasicExploreDimensions = typeof queryableBasicExploreDimensions[number];
|
|
4
4
|
export declare const filterableBasicExploreDimensions: ["api_product", "api_product_version", "control_plane", "control_plane_group", "data_plane_node", "gateway_service", "route", "status_code", "status_code_grouped"];
|
|
@@ -13,9 +13,13 @@ export interface BasicExploreInFilterV2 {
|
|
|
13
13
|
field: FilterableBasicExploreDimensions;
|
|
14
14
|
value: (string | number | null)[];
|
|
15
15
|
}
|
|
16
|
+
export interface BasicExploreEmptyFilterV2 {
|
|
17
|
+
operator: RequestFilterTypeEmptyV2;
|
|
18
|
+
field: FilterableBasicExploreDimensions;
|
|
19
|
+
}
|
|
16
20
|
export declare const basicExploreAggregations: readonly ["active_services", "request_count", "request_per_minute", "response_latency_average"];
|
|
17
21
|
export type BasicExploreAggregations = typeof basicExploreAggregations[number];
|
|
18
|
-
export type BasicExploreFilterAll = BasicExploreFilter | BasicExploreInFilterV2;
|
|
22
|
+
export type BasicExploreFilterAll = BasicExploreFilter | BasicExploreInFilterV2 | BasicExploreEmptyFilterV2;
|
|
19
23
|
export interface BasicExploreQuery {
|
|
20
24
|
metrics?: BasicExploreAggregations[];
|
|
21
25
|
dimensions?: QueryableBasicExploreDimensions[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"basic.d.ts","sourceRoot":"","sources":["../../../../src/types/explore/basic.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,WAAW,EAAE,MAAM,UAAU,CAAA;
|
|
1
|
+
{"version":3,"file":"basic.d.ts","sourceRoot":"","sources":["../../../../src/types/explore/basic.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,wBAAwB,EAAE,WAAW,EAAE,MAAM,UAAU,CAAA;AAE9G,eAAO,MAAM,+BAA+B,sLAWlC,CAAA;AAEV,MAAM,MAAM,+BAA+B,GAAG,OAAO,+BAA+B,CAAC,MAAM,CAAC,CAAA;AAE5F,eAAO,MAAM,gCAAgC,qKAAkD,CAAA;AAE/F,MAAM,MAAM,gCAAgC,GAAG,OAAO,gCAAgC,CAAC,MAAM,CAAC,CAAA;AAE9F,MAAM,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