public class AddonMultiSubmit extends org.apache.beam.sdk.transforms.PTransform<org.apache.beam.sdk.values.PCollection<Event>,org.apache.beam.sdk.values.PCollection<Alert>> implements DocumentingTransform
Operates on fixed windows of 5 minutes. Uploads seen during this window are grouped based on file size rounded up to the nearest 10000 byte boundary. Where the number of uploads at a particular interval exceeds the configured alerting value, an alert will be generated.
Constructor and Description |
---|
AddonMultiSubmit(String monitoredResource,
Integer suppressRecovery,
Integer matchAlertOn)
Construct new AddonMultiSubmit
|
Modifier and Type | Method and Description |
---|---|
org.apache.beam.sdk.values.PCollection<Alert> |
expand(org.apache.beam.sdk.values.PCollection<Event> col) |
String |
getTransformDoc()
Get documentation string from transform based on it's current configuration
|
public AddonMultiSubmit(String monitoredResource, Integer suppressRecovery, Integer matchAlertOn)
monitoredResource
- Monitored resource indicatorsuppressRecovery
- Optional recovery suppression to include with alerts in secondsmatchAlertOn
- Number of submissions at rounded interval to trigger alertpublic String getTransformDoc()
getTransformDoc
in interface DocumentingTransform
Copyright © 2022. All rights reserved.