public class PerEndpointErrorRateAnalysis extends org.apache.beam.sdk.transforms.PTransform<org.apache.beam.sdk.values.PCollection<org.apache.beam.sdk.values.KV<String,ArrayList<String>>>,org.apache.beam.sdk.values.PCollection<Alert>> implements DocumentingTransform
Generates alerts where the request profile violates path thresholds specified in the perEndpointErrorRate pipeline option configuration.
Modifier and Type | Class and Description |
---|---|
static class |
PerEndpointErrorRateAnalysis.EndpointErrorInfo
Internal class for configured endpoints in PEERA
|
static class |
PerEndpointErrorRateAnalysis.EndpointErrorState
Internal class to keep track of current state for a given endpoint rule for this key
|
Constructor and Description |
---|
PerEndpointErrorRateAnalysis(HTTPRequestToggles toggles,
Boolean enableIprepdDatastoreExemptions,
String iprepdDatastoreExemptionsProject)
Initializer for
PerEndpointErrorRateAnalysis |
Modifier and Type | Method and Description |
---|---|
org.apache.beam.sdk.values.PCollection<Alert> |
expand(org.apache.beam.sdk.values.PCollection<org.apache.beam.sdk.values.KV<String,ArrayList<String>>> input) |
String |
getTransformDoc()
Get documentation string from transform based on it's current configuration
|
public PerEndpointErrorRateAnalysis(HTTPRequestToggles toggles, Boolean enableIprepdDatastoreExemptions, String iprepdDatastoreExemptionsProject)
PerEndpointErrorRateAnalysis
toggles
- HTTPRequestToggles
enableIprepdDatastoreExemptions
- True to enable datastore exemptionsiprepdDatastoreExemptionsProject
- Project to look for datastore entities inpublic String getTransformDoc()
getTransformDoc
in interface DocumentingTransform
Copyright © 2022. All rights reserved.