public class SessionLimitAnalysis 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
This is based on Endpoint Abuse Analysis but allows for pattern matching and monitor only threshold.
Generates alerts where the request profile violates path thresholds specified in the sessionLimitAnalysisPaths pipeline option configuration.
Modifier and Type | Class and Description |
---|---|
static class |
SessionLimitAnalysis.LimitInfo
Internal class for configured endpoints
|
Constructor and Description |
---|
SessionLimitAnalysis(HTTPRequestToggles toggles,
Boolean enableIprepdDatastoreExemptions,
String iprepdDatastoreExemptionsProject)
Static initializer for
SessionLimitAnalysis |
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 SessionLimitAnalysis(HTTPRequestToggles toggles, Boolean enableIprepdDatastoreExemptions, String iprepdDatastoreExemptionsProject)
SessionLimitAnalysis
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.