aboutsummaryrefslogtreecommitdiffstats
path: root/vnfs/DAaaS/deploy/day2_configs
diff options
context:
space:
mode:
authorDileep Ranganathan <dileep.ranganathan@intel.com>2019-10-31 15:46:37 -0700
committerDileep Ranganathan <dileep.ranganathan@intel.com>2019-11-11 14:39:44 -0800
commitd11cb99fb101a6798fd57fa44d332737d6637e75 (patch)
tree0d7ae93ac67186a9bd4dd81db85eab9ccd64334f /vnfs/DAaaS/deploy/day2_configs
parent68d118176bb53c36b31a7060cfa16ad5acac1765 (diff)
Prometheus Kafka Writer Microservice
This patch implents Prometheus to remote Kafka Writer Microservice Added sample day-2 config to configure prometheus PS4: Fixed Review comments Issue-ID: ONAPARC-393 Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com> Change-Id: I0bc77175593a165effd7bb1cb4802c988a5ef4ec
Diffstat (limited to 'vnfs/DAaaS/deploy/day2_configs')
-rw-r--r--vnfs/DAaaS/deploy/day2_configs/prometheus/add_remote_write_kafka.yaml10
1 files changed, 10 insertions, 0 deletions
diff --git a/vnfs/DAaaS/deploy/day2_configs/prometheus/add_remote_write_kafka.yaml b/vnfs/DAaaS/deploy/day2_configs/prometheus/add_remote_write_kafka.yaml
new file mode 100644
index 00000000..090e2a1e
--- /dev/null
+++ b/vnfs/DAaaS/deploy/day2_configs/prometheus/add_remote_write_kafka.yaml
@@ -0,0 +1,10 @@
+spec:
+ remoteWrite:
+ - url: "http://prom-kafka-writer.edge1.svc.cluster.local:8686/pkw/pkw0/receive"
+ writeRelabelConfigs:
+ - targetLabel: metrics_storage
+ replacement: kafka_remote
+ - action: keep
+ regex: go_gc_duration_seconds_count
+ sourceLabels:
+ - __name__