Skip to content
Snippets Groups Projects
Commit d66a8cbe authored by Sören Henning's avatar Sören Henning
Browse files

Merge branch 'add-dropped-records-slos' into 'main'

Add dropped records SLO to UC2/UC4 (no Samza)

See merge request !310
parents 07887a54 497abecd
No related branches found
No related tags found
1 merge request!310Add dropped records SLO to UC2/UC4 (no Samza)
Pipeline #10477 passed
Showing
with 113 additions and 17 deletions
...@@ -91,6 +91,18 @@ spec: ...@@ -91,6 +91,18 @@ spec:
threshold: 2000 threshold: 2000
externalSloUrl: "http://localhost:80/evaluate-slope" externalSloUrl: "http://localhost:80/evaluate-slope"
warmup: 60 # in seconds warmup: 60 # in seconds
- name: droppedRecords
sloType: generic
prometheusUrl: "http://prometheus-operated:9090"
offset: 0
properties:
externalSloUrl: "http://localhost:8082"
promQLQuery: "sum(rate(flink_taskmanager_job_task_operator_org_apache_beam_runners_core_LateDataDroppingDoFnRunner_droppedDueToLateness[30s])) by (job) OR clamp_max(absent(notExists{job='absent'}),0)"
warmup: 60 # in seconds
queryAggregation: max
repetitionAggregation: median
operator: lte
threshold: 100
kafkaConfig: kafkaConfig:
bootstrapServer: "theodolite-kafka-kafka-bootstrap:9092" bootstrapServer: "theodolite-kafka-kafka-bootstrap:9092"
topics: topics:
......
...@@ -91,6 +91,18 @@ spec: ...@@ -91,6 +91,18 @@ spec:
threshold: 2000 threshold: 2000
externalSloUrl: "http://localhost:80/evaluate-slope" externalSloUrl: "http://localhost:80/evaluate-slope"
warmup: 60 # in seconds warmup: 60 # in seconds
- name: droppedRecords
sloType: generic
prometheusUrl: "http://prometheus-operated:9090"
offset: 0
properties:
externalSloUrl: "http://localhost:8082"
promQLQuery: "sum(rate(flink_taskmanager_job_task_operator_numLateRecordsDropped[30s])) by(job)"
warmup: 60 # in seconds
queryAggregation: max
repetitionAggregation: median
operator: lte
threshold: 100
kafkaConfig: kafkaConfig:
bootstrapServer: "theodolite-kafka-kafka-bootstrap:9092" bootstrapServer: "theodolite-kafka-kafka-bootstrap:9092"
topics: topics:
......
...@@ -66,6 +66,18 @@ spec: ...@@ -66,6 +66,18 @@ spec:
threshold: 2000 threshold: 2000
externalSloUrl: "http://localhost:80/evaluate-slope" externalSloUrl: "http://localhost:80/evaluate-slope"
warmup: 60 # in seconds warmup: 60 # in seconds
- name: droppedRecords
sloType: generic
prometheusUrl: "http://prometheus-operated:9090"
offset: 0
properties:
externalSloUrl: "http://localhost:8082"
promQLQuery: "sum(rate(com_hazelcast_jet_metrics_lateeventsdropped[30s])) by(job)"
warmup: 60 # in seconds
queryAggregation: max
repetitionAggregation: median
operator: lte
threshold: 100
kafkaConfig: kafkaConfig:
bootstrapServer: "theodolite-kafka-kafka-bootstrap:9092" bootstrapServer: "theodolite-kafka-kafka-bootstrap:9092"
topics: topics:
......
...@@ -71,6 +71,18 @@ spec: ...@@ -71,6 +71,18 @@ spec:
threshold: 2000 threshold: 2000
externalSloUrl: "http://localhost:80/evaluate-slope" externalSloUrl: "http://localhost:80/evaluate-slope"
warmup: 60 # in seconds warmup: 60 # in seconds
- name: droppedRecords
sloType: generic
prometheusUrl: "http://prometheus-operated:9090"
offset: 0
properties:
externalSloUrl: "http://localhost:8082"
promQLQuery: "sum(rate(kafka_streams_stream_task_metrics_dropped_records_total[30s])) by (job)"
warmup: 60 # in seconds
queryAggregation: max
repetitionAggregation: median
operator: lte
threshold: 100
kafkaConfig: kafkaConfig:
bootstrapServer: "theodolite-kafka-kafka-bootstrap:9092" bootstrapServer: "theodolite-kafka-kafka-bootstrap:9092"
topics: topics:
......
...@@ -81,7 +81,7 @@ spec: ...@@ -81,7 +81,7 @@ spec:
resource: "uc4-load-generator-deployment.yaml" resource: "uc4-load-generator-deployment.yaml"
properties: properties:
loadGenMaxRecords: "150000" loadGenMaxRecords: "150000"
numSensors: "4.0" numSensors: "4"
slos: slos:
- name: "lag trend" - name: "lag trend"
sloType: "lag trend" sloType: "lag trend"
...@@ -92,6 +92,18 @@ spec: ...@@ -92,6 +92,18 @@ spec:
threshold: 2000 threshold: 2000
externalSloUrl: "http://localhost:80/evaluate-slope" externalSloUrl: "http://localhost:80/evaluate-slope"
warmup: 60 # in seconds warmup: 60 # in seconds
- name: droppedRecords
sloType: generic
prometheusUrl: "http://prometheus-operated:9090"
offset: 0
properties:
externalSloUrl: "http://localhost:8082"
promQLQuery: "sum(rate(flink_taskmanager_job_task_operator_org_apache_beam_runners_core_LateDataDroppingDoFnRunner_droppedDueToLateness[30s])) by (job) OR clamp_max(absent(notExists{job='absent'}),0)"
warmup: 60 # in seconds
queryAggregation: max
repetitionAggregation: median
operator: lte
threshold: 100
kafkaConfig: kafkaConfig:
bootstrapServer: "theodolite-kafka-kafka-bootstrap:9092" bootstrapServer: "theodolite-kafka-kafka-bootstrap:9092"
topics: topics:
......
...@@ -70,7 +70,7 @@ spec: ...@@ -70,7 +70,7 @@ spec:
resource: "uc4-load-generator-deployment.yaml" resource: "uc4-load-generator-deployment.yaml"
properties: properties:
loadGenMaxRecords: "150000" loadGenMaxRecords: "150000"
numSensors: "4.0" numSensors: "4"
slos: slos:
- name: "lag trend" - name: "lag trend"
sloType: "lag trend" sloType: "lag trend"
......
...@@ -81,7 +81,7 @@ spec: ...@@ -81,7 +81,7 @@ spec:
resource: "uc4-load-generator-deployment.yaml" resource: "uc4-load-generator-deployment.yaml"
properties: properties:
loadGenMaxRecords: "150000" loadGenMaxRecords: "150000"
numSensors: "4.0" numSensors: "4"
slos: slos:
- name: "lag trend" - name: "lag trend"
sloType: "lag trend" sloType: "lag trend"
...@@ -92,6 +92,18 @@ spec: ...@@ -92,6 +92,18 @@ spec:
threshold: 2000 threshold: 2000
externalSloUrl: "http://localhost:80/evaluate-slope" externalSloUrl: "http://localhost:80/evaluate-slope"
warmup: 60 # in seconds warmup: 60 # in seconds
- name: droppedRecords
sloType: generic
prometheusUrl: "http://prometheus-operated:9090"
offset: 0
properties:
externalSloUrl: "http://localhost:8082"
promQLQuery: "sum(rate(flink_taskmanager_job_task_operator_numLateRecordsDropped[30s])) by(job)"
warmup: 60 # in seconds
queryAggregation: max
repetitionAggregation: median
operator: lte
threshold: 100
kafkaConfig: kafkaConfig:
bootstrapServer: "theodolite-kafka-kafka-bootstrap:9092" bootstrapServer: "theodolite-kafka-kafka-bootstrap:9092"
topics: topics:
......
...@@ -51,12 +51,12 @@ spec: ...@@ -51,12 +51,12 @@ spec:
resource: "uc4-load-generator-deployment.yaml" resource: "uc4-load-generator-deployment.yaml"
properties: properties:
container: "workload-generator" container: "workload-generator"
variableName: "NUM_SENSORS" variableName: "NUM_NESTED_GROUPS"
- type: NumNestedGroupsLoadGeneratorReplicaPatcher - type: NumNestedGroupsLoadGeneratorReplicaPatcher
resource: "uc4-load-generator-deployment.yaml" resource: "uc4-load-generator-deployment.yaml"
properties: properties:
loadGenMaxRecords: "150000" loadGenMaxRecords: "150000"
numSensors: "4.0" numSensors: "4"
slos: slos:
- name: "lag trend" - name: "lag trend"
sloType: "lag trend" sloType: "lag trend"
...@@ -67,6 +67,18 @@ spec: ...@@ -67,6 +67,18 @@ spec:
threshold: 2000 threshold: 2000
externalSloUrl: "http://localhost:80/evaluate-slope" externalSloUrl: "http://localhost:80/evaluate-slope"
warmup: 60 # in seconds warmup: 60 # in seconds
- name: droppedRecords
sloType: generic
prometheusUrl: "http://prometheus-operated:9090"
offset: 0
properties:
externalSloUrl: "http://localhost:8082"
promQLQuery: "sum(rate(com_hazelcast_jet_metrics_lateeventsdropped[30s])) by(job)"
warmup: 60 # in seconds
queryAggregation: max
repetitionAggregation: median
operator: lte
threshold: 100
kafkaConfig: kafkaConfig:
bootstrapServer: "theodolite-kafka-kafka-bootstrap:9092" bootstrapServer: "theodolite-kafka-kafka-bootstrap:9092"
topics: topics:
......
...@@ -56,12 +56,12 @@ spec: ...@@ -56,12 +56,12 @@ spec:
resource: "uc4-load-generator-deployment.yaml" resource: "uc4-load-generator-deployment.yaml"
properties: properties:
container: "workload-generator" container: "workload-generator"
variableName: "NUM_SENSORS" variableName: "NUM_NESTED_GROUPS"
- type: NumNestedGroupsLoadGeneratorReplicaPatcher - type: NumNestedGroupsLoadGeneratorReplicaPatcher
resource: "uc4-load-generator-deployment.yaml" resource: "uc4-load-generator-deployment.yaml"
properties: properties:
loadGenMaxRecords: "150000" loadGenMaxRecords: "150000"
numSensors: "4.0" numSensors: "4"
slos: slos:
- name: "lag trend" - name: "lag trend"
sloType: "lag trend" sloType: "lag trend"
...@@ -72,6 +72,18 @@ spec: ...@@ -72,6 +72,18 @@ spec:
threshold: 2000 threshold: 2000
externalSloUrl: "http://localhost:80/evaluate-slope" externalSloUrl: "http://localhost:80/evaluate-slope"
warmup: 60 # in seconds warmup: 60 # in seconds
- name: droppedRecords
sloType: generic
prometheusUrl: "http://prometheus-operated:9090"
offset: 0
properties:
externalSloUrl: "http://localhost:8082"
promQLQuery: "sum(rate(kafka_streams_stream_task_metrics_dropped_records_total[30s])) by (job)"
warmup: 60 # in seconds
queryAggregation: max
repetitionAggregation: median
operator: lte
threshold: 100
kafkaConfig: kafkaConfig:
bootstrapServer: "theodolite-kafka-kafka-bootstrap:9092" bootstrapServer: "theodolite-kafka-kafka-bootstrap:9092"
topics: topics:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment