-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathSyntheticsAssertionType.ts
52 lines (49 loc) · 1.65 KB
/
SyntheticsAssertionType.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
/**
* Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
* This product includes software developed at Datadog (https://www.datadoghq.com/).
* Copyright 2020-Present Datadog, Inc.
*/
import { UnparsedObject } from "../../datadog-api-client-common/util";
/**
* Type of the assertion.
*/
export type SyntheticsAssertionType =
| typeof BODY
| typeof HEADER
| typeof STATUS_CODE
| typeof CERTIFICATE
| typeof RESPONSE_TIME
| typeof PROPERTY
| typeof RECORD_EVERY
| typeof RECORD_SOME
| typeof TLS_VERSION
| typeof MIN_TLS_VERSION
| typeof LATENCY
| typeof PACKET_LOSS_PERCENTAGE
| typeof PACKETS_RECEIVED
| typeof NETWORK_HOP
| typeof RECEIVED_MESSAGE
| typeof GRPC_HEALTHCHECK_STATUS
| typeof GRPC_METADATA
| typeof GRPC_PROTO
| typeof CONNECTION
| UnparsedObject;
export const BODY = "body";
export const HEADER = "header";
export const STATUS_CODE = "statusCode";
export const CERTIFICATE = "certificate";
export const RESPONSE_TIME = "responseTime";
export const PROPERTY = "property";
export const RECORD_EVERY = "recordEvery";
export const RECORD_SOME = "recordSome";
export const TLS_VERSION = "tlsVersion";
export const MIN_TLS_VERSION = "minTlsVersion";
export const LATENCY = "latency";
export const PACKET_LOSS_PERCENTAGE = "packetLossPercentage";
export const PACKETS_RECEIVED = "packetsReceived";
export const NETWORK_HOP = "networkHop";
export const RECEIVED_MESSAGE = "receivedMessage";
export const GRPC_HEALTHCHECK_STATUS = "grpcHealthcheckStatus";
export const GRPC_METADATA = "grpcMetadata";
export const GRPC_PROTO = "grpcProto";
export const CONNECTION = "connection";