@harnessio/react-chaos-manager-client 1.66.0 → 1.66.1

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.
@@ -856,6 +856,7 @@ export type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeAppDyna
856
856
  export type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeAppdMetrics } from './schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeAppdMetrics';
857
857
  export type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeDatadogApmProbeInputs } from './schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeDatadogApmProbeInputs';
858
858
  export type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeDatadogSyntheticsTestType } from './schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeDatadogSyntheticsTestType';
859
+ export type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeDatadogV2Query } from './schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeDatadogV2Query';
859
860
  export type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeDynatraceApmProbeInputs } from './schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeDynatraceApmProbeInputs';
860
861
  export type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeEnv } from './schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeEnv';
861
862
  export type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeGcpCloudMonitoringProbeInputs } from './schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeGcpCloudMonitoringProbeInputs';
@@ -895,6 +896,7 @@ export type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbeAppDynamicsProbeIn
895
896
  export type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbeAppdMetrics } from './schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeAppdMetrics';
896
897
  export type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbeDatadogApmProbeInputs } from './schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeDatadogApmProbeInputs';
897
898
  export type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbeDatadogSyntheticsTestType } from './schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeDatadogSyntheticsTestType';
899
+ export type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbeDatadogV2Query } from './schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeDatadogV2Query';
898
900
  export type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbeDynatraceApmProbeInputs } from './schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeDynatraceApmProbeInputs';
899
901
  export type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbeEnv } from './schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeEnv';
900
902
  export type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbeGcpCloudMonitoringProbeInputs } from './schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeGcpCloudMonitoringProbeInputs';
@@ -1322,6 +1324,7 @@ export type { V1ContainerProbeInputs } from './schemas/V1ContainerProbeInputs';
1322
1324
  export type { V1CsiVolumeSource } from './schemas/V1CsiVolumeSource';
1323
1325
  export type { V1DatadogApmProbeInputs } from './schemas/V1DatadogApmProbeInputs';
1324
1326
  export type { V1DatadogMetrics } from './schemas/V1DatadogMetrics';
1327
+ export type { V1DatadogV2Query } from './schemas/V1DatadogV2Query';
1325
1328
  export type { V1DownwardApiProjection } from './schemas/V1DownwardApiProjection';
1326
1329
  export type { V1DownwardApiVolumeFile } from './schemas/V1DownwardApiVolumeFile';
1327
1330
  export type { V1DownwardApiVolumeSource } from './schemas/V1DownwardApiVolumeSource';
@@ -1,7 +1,15 @@
1
+ import type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeDatadogV2Query } from '../schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeDatadogV2Query';
1
2
  import type { ProbeSyntheticsTest } from '../schemas/ProbeSyntheticsTest';
2
3
  export interface GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeDatadogApmProbeInputs {
4
+ aggregation?: string;
3
5
  connectorID?: string;
4
6
  durationInMin?: {};
7
+ formula?: string;
8
+ queries?: GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeDatadogV2Query[];
5
9
  query?: string;
10
+ /**
11
+ * v2 timeseries query fields. Optional and backward compatible; when QueryType is "v2"
12
+ */
13
+ queryType?: string;
6
14
  syntheticsTest?: ProbeSyntheticsTest;
7
15
  }
@@ -0,0 +1,7 @@
1
+ export interface GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeDatadogV2Query {
2
+ dataSource?: string;
3
+ name?: string;
4
+ params?: {
5
+ [key: string]: any;
6
+ };
7
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -1,7 +1,12 @@
1
+ import type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbeDatadogV2Query } from '../schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeDatadogV2Query';
1
2
  import type { ProbeSyntheticsTestTemplate } from '../schemas/ProbeSyntheticsTestTemplate';
2
3
  export interface GithubComHarnessHceSaasHceSdkTemplateSchemaProbeDatadogApmProbeInputs {
4
+ aggregation?: string;
3
5
  connectorID?: string;
4
6
  durationInMin?: {};
7
+ formula?: string;
8
+ queries?: GithubComHarnessHceSaasHceSdkTemplateSchemaProbeDatadogV2Query[];
5
9
  query?: string;
10
+ queryType?: string;
6
11
  syntheticsTest?: ProbeSyntheticsTestTemplate;
7
12
  }
@@ -0,0 +1,7 @@
1
+ export interface GithubComHarnessHceSaasHceSdkTemplateSchemaProbeDatadogV2Query {
2
+ dataSource?: string;
3
+ name?: string;
4
+ params?: {
5
+ [key: string]: any;
6
+ };
7
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -1,5 +1,10 @@
1
+ import type { V1DatadogV2Query } from '../schemas/V1DatadogV2Query';
1
2
  import type { GithubComHarnessHceSaasHceSdkCommonProbeV1SyntheticsTest } from '../schemas/GithubComHarnessHceSaasHceSdkCommonProbeV1SyntheticsTest';
2
3
  export interface V1DatadogApmProbeInputs {
4
+ /**
5
+ * Aggregation collapses the resulting timeseries to a single value for comparison.
6
+ */
7
+ aggregation?: string;
3
8
  /**
4
9
  * DurationInMin contains the duration in minutes
5
10
  */
@@ -9,9 +14,21 @@ export interface V1DatadogApmProbeInputs {
9
14
  */
10
15
  endpoint?: string;
11
16
  /**
12
- * Raw metrics details of the Datadog probe
17
+ * Formula is the expression evaluated against the named queries, e.g. "errors / hits".
18
+ */
19
+ formula?: string;
20
+ /**
21
+ * Queries is the list of named v2 timeseries queries. Used only when QueryType is "v2".
22
+ */
23
+ queries?: V1DatadogV2Query[];
24
+ /**
25
+ * Raw metrics details of the Datadog probe (legacy v1 single-query path)
13
26
  */
14
27
  query?: string;
28
+ /**
29
+ * QueryType selects the Datadog query API version(v1 or v2)
30
+ */
31
+ queryType?: string;
15
32
  /**
16
33
  * synthetics test parameters
17
34
  */
@@ -0,0 +1,16 @@
1
+ export interface V1DatadogV2Query {
2
+ /**
3
+ * DataSource selects the query backend. Supported: "metrics", "apm_metrics".
4
+ */
5
+ dataSource?: string;
6
+ /**
7
+ * Name is the query identifier referenced by the Formula.
8
+ */
9
+ name?: string;
10
+ /**
11
+ * Params is the map of parameters for the query. Used only when DataSource is "apm_metrics".
12
+ */
13
+ params?: {
14
+ [key: string]: number[];
15
+ };
16
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-chaos-manager-client",
3
- "version": "1.66.0",
3
+ "version": "1.66.1",
4
4
  "description": "Harness React Chaos Manager Service Client - APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",