Update indicators.yml.erb
Updates the Indicator Document to apiVersion indicatorprotocol.io/v1. This makes the document Kubernetes-compatible, and ensures the document will be usable in the 1.0.0 release of Indicator Protocol, as v0 is deprecated.
---
-apiVersion: v0
+apiVersion: indicatorprotocol.io/v1
+kind: IndicatorDocument
+metadata:
+ labels:
+ deployment: <%= spec.deployment %>
+spec:
product:
name: loggregator
version: latest
-metadata:
- deployment: <%= spec.deployment %>
-
indicators:
- name: rlp_subscriptions
promql: avg(avg_over_time(subscriptions{source_id="reverse_log_proxy"}[5m]))
thresholds:
- level: critical
- gte: 900
+ operator: gte
+ value: 900
documentation:
title: RLP Subscriptions
description: |
