-
Notifications
You must be signed in to change notification settings - Fork 0
/
swo graph schema 11.27.22.graphql
14354 lines (11504 loc) · 369 KB
/
swo graph schema 11.27.22.graphql
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
# APM entity extension for Host
type APMHostExtension {
# Host Id
hostId: String!
# Host Name
hostname: String!
# Entity name
name: String
# Original host name. User can add hostname alias in the config of instrumentation lib (which will override observed value). This attribute is used to represent observed/polled name.
originalHostname: String
# os description
osDescription: String
# Os name
osName: String
# Os type
osType: String
# Os version
osVersion: String
# Trace service host error
traceServiceHostErrors: Metric!
# Trace service host request
traceServiceHostRequests: Metric!
# Trace service host response time
traceServiceHostResponseTime: Metric!
}
interface ActiveAlert {
alertDefinitionId: String!
alertDefinitionName: String!
alertDefinitionSeverity: AlertSeverity!
changedAt: String!
}
input ActiveAlertsFilterInput {
# Activity within time range in minutes
activeTimeRangeInMinutes: AlertIntRangeInput
# List of condition types
conditionTypes: [ConditionType!]
# List of alert definition IDs
definitionIds: [String!]
# List of entity IDs
entityIds: [String!]
# List of entity types
entityTypes: [String!]
# Alert filter expression
filter: AlertFilterExpressionInput
# Mute status
muted: Boolean
# String used for search in alert definition name or entity name
searchString: String
# List of severities
severities: [AlertSeverity!]
}
type ActiveEntityAlert implements ActiveAlert {
alertDefinitionId: String!
alertDefinitionName: String!
alertDefinitionSeverity: AlertSeverity!
changedAt: String!
entityHealthScore: Int
entityId: ID!
entityName: String!
entityType: String!
# Ordered list of flat evaluated tree nodes representing the flattened condition tree.
# The first item is the tree root.
#
# Reworked links - using UUIDs instead of int as node identifiers with named links.
# This shall be unified to have same behaviour in Condition and EvaluatedCondition.
evaluatedCondition: [FlatEvaluatedConditionTreeNode!]!
muteInfo: AlertEvaluationMuteInfo!
}
type ActiveEntityAlertsResult {
alerts: [ActiveEntityAlert!]!
pageCounts: PageCounts @deprecated(reason: "non-standard type")
pageInfo: PageInfo!
totalRecords: Int
}
type AgentInstallAlternativeMethod {
command: String
linkAddress: String
packageManager: AgentInstallPackageManager
}
type AgentInstallInstruction {
alternativeMethods: [AgentInstallAlternativeMethod!]
instrumentedMethod: AgentInstallInstrumentedMethod
script: String
sessionId: ID!
}
type AgentInstallInstrumentedMethod {
ansibleLink: String
chefLink: String
metadata: String
swoUrl: String
token: String
}
enum AgentInstallPackageManager {
DNF
DPKG
RPM
UNSPECIFIED
YUM
ZYPPER
}
type AgentInstallationSession {
installationStatus: AgentInstallationStatus!
uamsClientId: String
}
enum AgentInstallationStatus {
CLIENT_INSTALLED
ERROR
REQUESTED
UNKNOWN
}
# Defines how chainsaw will aggregate the data for this query
enum AggregationFunction {
ANY
AVG
COUNT
LAST
MAX
MIN
SUM
}
# AKS entity extension for Cluster
type AksClusterExtension {
# Cloud Account which this entity belongs to.
cloudAccount: CloudAccount
# Entity name
name: String
# The Unique Id of the cluster.
resourceId: String
# The Kubernetes server version for the cluster.
version: String
}
# Aks Node entity extension for host
type AksNodeExtension {
# Cloud Account which this entity belongs to.
cloudAccount: CloudAccount
# Aks Cluster to which this Node belongs.
cluster: Cluster
# Provides information about CPU usage in milicores.
cpuUsageMilicores: Metric!
# Provides information about CPU utilization.
cpuUsagePercent: Metric!
# Provides information about disk usage.
diskUsageBytes: Metric!
# Provides information about disk utilization.
diskUsagePercent: Metric!
# Provides information about rss memory usage.
memoryRssUsageBytes: Metric!
# Provides information about rss memory utilization.
memoryRssUsagePercent: Metric!
# Provides information about working set memory usage.
memoryWorkingSetUsageBytes: Metric!
# Provides information about working set memory utilization.
memoryWorkingSetUsagePercent: Metric!
# Entity name
name: String
# Provides information about bytes received.
networkInBytes: Metric!
# Provides information about bytes sent.
networkOutBytes: Metric!
# Unique Id of the cluster.
resourceId: String
}
type AksPodExtension {
# Cloud Account which this entity belongs to.
cloudAccount: CloudAccount
# Entity name
name: String
# Namespace of the pod
namespace: String
# Unique Id of the cluster.
resourceId: String
}
type AlertAction {
# List of notification configuration IDs
configurationIds: [ID!]!
# Type of a notification service
type: String!
}
type AlertActionDeletedByCnsEvent implements AlertManagementEvent {
alertDefinitionId: String!
alertDefinitionName: String
cnsConfigurationId: String!
cnsConfigurationType: String!
eventId: String!
timestamp: String!
userId: String!
}
input AlertActionInput {
# List of notification configuration IDs
configurationIds: [ID!]!
# Type of a notification service
type: String!
}
# @deprecated(reason: "Use the 'AlertConditionEvaluationV2' enum instead")
type AlertConditionEvaluation {
# Temporal solution until the 'AlertConditionEvaluationV2' type is fully used instead.
conditionType: ConditionType!
currentState: EntityState!
# Temporal solution:
# May be empty for other condition types than ENTITY_METRIC.
entityId: ID!
# Ordered list of flat evaluated tree nodes representing the flattened condition tree.
# The first item is the tree root.
#
# Reworked links - using UUIDs instead of int as node identifiers with named links.
# This shall be unified to have same behaviour in Condition and EvaluatedCondition.
evaluatedCondition: [FlatEvaluatedConditionTreeNode!]!
}
interface AlertConditionEvaluationFlat {
# Alert definition ID
alertDefinitionId: String!
# Alert definition name
alertDefinitionName: String!
# Alert definition severity
alertDefinitionSeverity: AlertSeverity!
# Time of a last state change in ISO-8601 date format - 2011-12-03T10:15:30Z
changedAt: String!
# Type of the condition
conditionType: ConditionType!
# Entity details
entity: AlertEntityData
# Ordered list of flat evaluated tree nodes representing the flattened condition tree.
# The first item is the tree root.
evaluatedCondition: [FlatEvaluatedConditionTreeNode!]!
# Time when the evaluation was last triggered in ISO-8601 date format - 2011-12-03T10:15:30Z
lastTriggeredAt: String
# Information about pending mute configurations related to this evaluation
muteInfo: AlertEvaluationMuteInfo!
# Current state of evaluation
state: AlertConditionState!
}
interface AlertConditionEvaluationV2 {
# Alert definition related to this evaluation
alertDefinition: AlertDefinition
# Time of a last state change in ISO-8601 date format - 2011-12-03T10:15:30Z
changedAt: String!
# Type of the condition
conditionType: ConditionType!
# Entity details
entity: AlertEntityEvaluationData
# Ordered list of flat evaluated tree nodes representing the flattened condition tree.
# The first item is the tree root.
evaluatedCondition: [FlatEvaluatedConditionTreeNode!]!
# Time when the evaluation was last triggered in ISO-8601 date format - 2011-12-03T10:15:30Z
lastTriggeredAt: String
# Information about pending mute configurations related to this evaluation
muteInfo: AlertEvaluationMuteInfo!
# Time when was the last notification sent for this evaluation in ISO-8601 date format - 2011-12-03T10:15:30Z
notificationSentAt: String
# Current state of evaluation
state: AlertConditionState!
}
type AlertConditionMatchFieldRule {
# Field name to apply filtering rule on
fieldName: String!
# Rules to apply - multiple rules are joined by OR
rules: [AlertConditionMatchRule!]!
}
input AlertConditionMatchFieldRuleInput {
# Field name to apply filtering rule on
fieldName: String!
# Rules to apply - multiple rules are joined by OR
rules: [AlertConditionMatchRuleInput!]!
}
type AlertConditionMatchRule {
# Negate match (wraps in NOT)
negate: Boolean!
type: AlertConditionMatchRuleType!
# Value match match
value: String!
}
input AlertConditionMatchRuleInput {
# Negate match (wraps in NOT)
negate: Boolean! = false
type: AlertConditionMatchRuleType!
# Value match match
value: String!
}
# Condition matching rule types
enum AlertConditionMatchRuleType {
CONTAINS
EQ
MATCHES
NE
}
# See https://swicloud.atlassian.net/wiki/spaces/NIT/pages/2700936948/Data+Format+for+storing+alerts.
type AlertConditionNode {
# Data type for "constantValue" nodes. Supported values: "boolean", "number", "string"
dataType: String
# Entity filter for "metricField" nodes
entityFilter: AlertConditionNodeEntityFilter
# Entity metric field for "metricField" nodes
fieldName: String
# Condition node ID.
id: Int!
# Measurement filter for tags on metrics
metricFilter: [FlatAlertFilterExpression]
# Ordered list of child condition node IDs.
operandIds: [Int!]
# Operator for combining operands. Supported values:
# - For aggregationOperator: "COUNT", "MIN", "MAX", "AVG", "SUM", "LAST"
# - For binaryOperator: "=", "!=", ">", "<", ">=", "<="
# - For logicalOperator: "AND", "OR"
# - For unaryOperator: "!"
operator: String
# Query specification for "queryField" nodes.
query: String
# Source specification for "queryField" nodes.
source: String
# Node (operator) type. Supported values:
# - "aggregationOperator" (child of "binaryOperator")
# - "binaryOperator" (root, or child of "logicalOperator", "unaryOperator")
# - "constantValue" (root, or child of "aggregationOperator", "binaryOperator")
# - "logicalOperator" (root, or child of "logicalOperator", "unaryOperator")
# - "metricField" (child of "binaryOperator", "aggregationOperator")
# - "queryField" (child of "aggregationOperator")
# - "unaryOperator" (root, or child of "logicalOperator", "unaryOperator")
type: String!
# String representation of value for "constantValue" nodes.
value: String
}
type AlertConditionNodeEntityFilter {
# List of alert condition field rules
fields: [AlertConditionMatchFieldRule!]
# Entity IDs
ids: [ID!]
type: String! @deprecated(reason: "Use types")
# Entity types
types: [String!]
}
input AlertConditionNodeEntityFilterInput {
# Filter by entity fields - multiple fields are joined by AND
fields: [AlertConditionMatchFieldRuleInput!]
# Filter by entity ids
ids: [ID!]
# Filter by entity type, this shall not be used and shall be deprecated
type: String!
# Filter by entity types
types: [String!]
}
# See https://swicloud.atlassian.net/wiki/spaces/NIT/pages/2700936948/Data+Format+for+storing+alerts.
input AlertConditionNodeInput {
# Data type for "constantValue" nodes. Supported values: "boolean", "number", "string"
dataType: String
# Entity filter for "metricField" nodes, when defined (not null) metric is scoped to entity
entityFilter: AlertConditionNodeEntityFilterInput
# Entity metric field for "metricField" nodes
fieldName: String
# Condition node ID.
id: Int!
# Measurement filter for metric tags
metricFilter: AlertFilterExpressionInput
# Ordered list of child condition nodes IDs.
operandIds: [Int!]
# Operator for combining operands. Supported values:
# - For aggregationOperator: "COUNT", "MIN", "MAX", "AVG", "SUM", "LAST"
# - For binaryOperator: "=", "!=", ">", "<", ">=", "<="
# - For logicalOperator: "AND", "OR"
# - For unaryOperator: "!"
operator: String
# Query specification for "queryField" nodes.
query: String
# Source specification for "queryField" nodes.
source: String
# Node (operator) type. Supported values:
# - "aggregationOperator" (child of "binaryOperator")
# - "binaryOperator" (root, or child of "logicalOperator", "unaryOperator")
# - "constantValue" (root, or child of "aggregationOperator", "binaryOperator")
# - "logicalOperator" (root, or child of "logicalOperator", "unaryOperator")
# - "metricField" (child of "binaryOperator", "aggregationOperator")
# - "queryField" (child of "aggregationOperator")
# - "unaryOperator" (root, or child of "logicalOperator", "unaryOperator")
type: String!
# String representation of value for "constantValue" nodes.
value: String
}
# Condition states
enum AlertConditionState {
FIRING
OK
}
type AlertDefinition {
# List of Alert Actions that shall be triggered in case of alert FIRING
actions: [AlertAction!]!
# Ordered list of condition nodes representing the flatten condition tree.
# The first item is the tree root.
#
# Once all uses of `condition` attribute are removed from UI
condition: [AlertConditionNode!]!
@deprecated(
reason: "Moving condition into flatCondition with uuids as node IDs use flatTreeCondition"
)
# List of alert evaluations
conditionEvaluations: [AlertConditionEvaluationV2!]!
# Condition type
conditionType: ConditionType!
# The time stamp that identifies when the condition was updated.
conditionUpdatedAt: String!
# Description of the alert definition
description: String
# Enabled whether alert shall be evaluated
enabled: Boolean!
entityStates: [AlertEvaluation!]!
@deprecated(reason: "Use the 'conditionEvaluations' field instead")
# Ordered list of condition nodes representing the flatten condition tree.
# The first item is the tree root.
flatCondition: [FlatAlertConditionExpression!]!
# Alert definition ID in UUID format
id: ID!
# Information about any pending mutes on the alert definition
muteInfo: AlertDefinitionMuteInfo!
muted: Boolean!
@deprecated(reason: "Redundant field. Replaced by the muteInfo field.")
# Name of the alert definition
name: String!
# Organization ID
organizationId: ID!
# Alert severity"
severity: AlertSeverity!
# List of targeted entity types
targetEntityTypes: [String!]
# Indication whether alert is triggered
triggered: Boolean!
# Time when the alert definition been triggered in ISO-8601 date format - 2011-12-03T10:15:30Z
triggeredTime: String
# User ID
userId: ID!
}
input AlertDefinitionBulkInput {
enabled: Boolean
# @deprecated(reason: "Redundant field. Replaced by muteAlerts and unmuteAlerts mutations.")
muted: Boolean
}
type AlertDefinitionCreatedEvent implements AlertManagementEvent {
alertDefinitionId: String!
alertDefinitionName: String
configuration: AlertDefinitionEventData!
eventId: String!
timestamp: String!
userId: String!
}
type AlertDefinitionDeletedEvent implements AlertManagementEvent {
alertDefinitionId: String!
alertDefinitionName: String
eventId: String!
timestamp: String!
userId: String!
}
type AlertDefinitionDisabledEvent implements AlertManagementEvent {
alertDefinitionId: String!
alertDefinitionName: String
eventId: String!
timestamp: String!
userId: String!
}
type AlertDefinitionEnabledEvent implements AlertManagementEvent {
alertDefinitionId: String!
alertDefinitionName: String
eventId: String!
timestamp: String!
userId: String!
}
type AlertDefinitionEventData {
actions: [AlertAction!]!
condition: [AlertConditionNode!]!
@deprecated(
reason: "Moving condition into flatCondition with uuids as node IDs use flatTreeCondition"
)
description: String
# The first item is the tree root.
flatCondition: [FlatAlertConditionExpression!]!
name: String!
severity: AlertSeverity!
targetEntityTypes: [String!]
}
input AlertDefinitionInput {
actions: [AlertActionInput!]
# Ordered list of condition nodes representing the flatten condition tree.
# The first item is the tree root.
condition: [AlertConditionNodeInput!]!
# Description
description: String
# Enabled
enabled: Boolean!
# @deprecated(reason: "Redundant field. Replaced by muteAlerts and unmuteAlerts mutations.")
muted: Boolean = false
# Name of alert definition
name: String!
# Severity
severity: AlertSeverity!
}
type AlertDefinitionManualResetEvent implements AlertManagementEvent {
alertDefinitionId: String!
alertDefinitionName: String
eventId: String!
timestamp: String!
userId: String!
}
# Alert definitions can be muted for certain period of time or muted until resolved.
#
# If the muted is set to 'true' and until attribute is not set meaning no notification will be sent until
# all of the evaluations are set to OK state or alert definition is reset
type AlertDefinitionMuteInfo {
# When muted no notifications are sent
muted: Boolean!
# Time until the mute expires in ISO-8601 date format - 2011-12-03T10:15:30Z or null - muted until resolved
until: String
}
type AlertDefinitionMutedEvent implements AlertEntityTrait & AlertManagementEvent {
alertDefinitionId: String!
alertDefinitionName: String
entity: AlertEntityData!
eventId: String!
expiresAt: String!
timestamp: String!
userId: String!
}
input AlertDefinitionPatchInput {
# List of Alert Actions that shall be triggered in case of alert FIRING
actions: [AlertActionInput!]
# Ordered list of condition nodes representing the flatten condition tree.
# The first item is the tree root.
condition: [AlertConditionNodeInput!]
# Description
description: String
# Enabled
enabled: Boolean
# Alert definition ID
id: String!
# @deprecated(reason: "Redundant field. Replaced by muteAlerts and unmuteAlerts mutations.")
muted: Boolean
# Name of alert definition
name: String
# Severity
severity: AlertSeverity
}
type AlertDefinitionUnmutedEvent implements AlertEntityTrait & AlertManagementEvent {
alertDefinitionId: String!
alertDefinitionName: String
entity: AlertEntityData!
eventId: String!
timestamp: String!
userId: String
}
type AlertDefinitionUpdatedEvent implements AlertManagementEvent {
alertDefinitionId: String!
alertDefinitionName: String
eventId: String!
newConfiguration: AlertDefinitionEventData!
originalConfiguration: AlertDefinitionEventData!
timestamp: String!
userId: String!
}
# @deprecated(reason: "Currently not used will be removed")
input AlertDefinitionsFromTemplatesInput {
actions: [AlertActionInput!]!
enabled: Boolean!
severity: AlertSeverity!
}
type AlertDefinitionsResult {
# List of Alert Definitions
alertDefinitions: [AlertDefinition!]!
pageCounts: PageCounts! @deprecated(reason: "non-standard type")
pageInfo: PageInfo!
totalRecords: Int
}
type AlertEntitiesFilter {
# List of entity types to get. If empty/missing then search is across all entities.
type: String!
}
input AlertEntitiesFilterInput {
# List of entity types to get. If empty/missing then search is across all entities.
type: String!
}
type AlertEntityData {
# Displayed name
displayName: String
# HealthScore
healthScore: Int
# Entity ID
id: ID!
# Entity name
name: String
# Type of entity
type: String
}
type AlertEntityEvaluationData {
# Evaluation condition state
currentState: AlertConditionState!
# Entity ID
entityId: ID!
# Time in ISO-8601 date format - 2011-12-03T10:15:30Z
flippedAt: String!
@deprecated(
reason: "this value does not bring any value to customer right now"
)
}
interface AlertEntityTrait {
entity: AlertEntityData!
}
# @deprecated(reason: "use the 'AlertConditionEvaluationV2' type")
type AlertEvaluation {
alertDefinition: AlertDefinition!
alertId: ID!
@deprecated(reason: "Redundant field. Use 'alertDefinition.id' instead.")
changedAt: String!
# Temporal solution until the 'AlertConditionEvaluationV2' type is fully used instead.
conditionType: ConditionType!
currentState: EntityState!
# Temporal solution:
# May be empty for other condition types than ENTITY_METRIC.
entityId: ID!
# Ordered list of flat evaluated tree nodes representing the flattened condition tree.
# The first item is the tree root.
#
# Reworked links - using UUIDs instead of int as node identifiers with named links.
# This shall be unified to have same behaviour in Condition and EvaluatedCondition.
evaluatedCondition: [FlatEvaluatedConditionTreeNode!]!
flippedAt: String!
lastTriggeredAt: String
muteInfo: AlertEvaluationMuteInfo!
notificationSentAt: String
state: EntityState!
}
input AlertEvaluationFilterInput {
# By active
active: Boolean
# By list of entity IDs
entityIds: [String!]
# By list of entity types
entityTypes: [String!]
# By mute status
muted: Boolean
# By list of severities
severities: [AlertSeverity!]
}
# "
# If the muted detail is listed and until attribute is not set meaning no notification will be sent until
# all of the evaluations are set to OK state or alert definition is reset
type AlertEvaluationMuteDetail {
# Type of the mute origin
reason: AlertEvaluationMuteReason!
# Time until the mute expires in ISO-8601 date format - 2011-12-03T10:15:30Z or null - muted until resolved
until: String
}
type AlertEvaluationMuteInfo {
# List of mute details
details: [AlertEvaluationMuteDetail]
# When muted no notifications are sent
muted: Boolean!
}
# Evaluation mute reasons
enum AlertEvaluationMuteReason {
ALERT_DEFINITION
ENTITY
ENTITY_PER_ALERT_DEFINITION
}
input AlertEvaluationsFilterInput {
# By list of condition types
conditionTypes: [ConditionType!]
# By list of entity IDs
entityIds: [String!]
# By last triggered filter
lastTriggered: LastTriggeredFilterInput
# By mute status
muted: Boolean
# By string in alert definition name or entity name
searchString: String
# By alert status
state: AlertConditionState
}
type AlertEvaluationsResult {
# Ordered list of flat evaluated tree nodes representing the flattened condition tree.
# The first item is the tree root.
conditionEvaluations: [AlertConditionEvaluationFlat!]!
pageInfo: PageInfo!
totalRecords: Int
}
type AlertFilterExpression {
# Operation to use for the evaluation. Default: "EQ"
operation: FilterOperation!
# Name of the property to filter on.
propertyName: String
# Value of the property for operations that expect single value such as EQ, NE, GT, ...
propertyValue: String
# Values of the property for operations expecting multiple values, such as IN.
propertyValues: [String]
}
# Input type for filtering
input AlertFilterExpressionInput {
# Children filters in case of "operator" being one of "OR", "AND", "NOT".
# In such case the "propertyName" and "propertyValue" are ignored.
children: [AlertFilterExpressionInput!]
# Operation to use for the evaluation. Default: "EQ"
operation: FilterOperation! = EQ
# Name of the property to filter on.
propertyName: String
# Value of the property for operations that expect single value such as EQ, NE, GT, ...
propertyValue: String
# Values of the property for operations expecting multiple values, such as IN.
propertyValues: [String]
}
input AlertFilterInput {
# By action configuration ID
actionConfigurationId: ID
conditionTypes: [ConditionType!]
# By alert definition enablement
enabled: Boolean
# By list of entity IDs
entities: [String!]
# By list of entity types
entityTypes: [String!]
# By alert filter expression
filter: AlertFilterExpressionInput
# By alert definition ID
id: ID
# By name string
name: String
# By list of severities
severities: [AlertSeverity!]
# By trigger status
triggered: Boolean
# By user ID
userId: ID
}
input AlertIntRangeInput {
# Integer value from how many minutes ago to look for.
from: Int!
# Integer value from how many minutes ago end the search in. If not defined it looks up till now.
to: Int
}
type AlertLogConditionEvaluation implements AlertConditionEvaluationV2 {
# Alert definition
alertDefinition: AlertDefinition
# Time of a last state change in ISO-8601 date format - 2011-12-03T10:15:30Z
changedAt: String!
# Type of the condition
conditionType: ConditionType!
# Entity details
entity: AlertEntityEvaluationData
# Evaluated condition containing values
evaluatedCondition: [FlatEvaluatedConditionTreeNode!]!
# Time when the evaluation was last triggered in ISO-8601 date format - 2011-12-03T10:15:30Z
lastTriggeredAt: String
# Information about pending mute configurations related to this evaluation
muteInfo: AlertEvaluationMuteInfo!
# Time when was the last notification sent for this evaluation in ISO-8601 date format - 2011-12-03T10:15:30Z
notificationSentAt: String
# Current state of evaluation
state: AlertConditionState!
}
type AlertLogConditionEvaluationFlat implements AlertConditionEvaluationFlat {
# Alert definition ID
alertDefinitionId: String!
# Alert definition name
alertDefinitionName: String!
# Alert definition severity
alertDefinitionSeverity: AlertSeverity!
# Time of a last state change in ISO-8601 date format - 2011-12-03T10:15:30Z
changedAt: String!
# Type of the condition
conditionType: ConditionType!
# Entity details
entity: AlertEntityData
# Ordered list of flat evaluated tree nodes representing the flattened condition tree.