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

Deprecate old SLOs

parent c2db6348
No related branches found
No related tags found
No related merge requests found
Pipeline #10451 passed
......@@ -3,9 +3,9 @@ package rocks.theodolite.kubernetes.slo
enum class SloTypes(val value: String) {
GENERIC("generic"),
LAG_TREND("lag trend"),
LAG_TREND_RATIO("lag trend ratio"),
DROPPED_RECORDS("dropped records"),
DROPPED_RECORDS_RATIO("dropped records ratio");
@Deprecated("Use LAG_TREND with relative threshold instead.") LAG_TREND_RATIO("lag trend ratio"),
@Deprecated("Use GENERIC instead.") DROPPED_RECORDS("dropped records"),
@Deprecated("Use GENERIC with relative threshold instead.") DROPPED_RECORDS_RATIO("dropped records ratio");
companion object {
fun from(type: String): SloTypes =
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment