From 3c0615dca2ad50c22e1a554da85ee66a6cb6c981 Mon Sep 17 00:00:00 2001 From: Avi-Robusta <97387909+Avi-Robusta@users.noreply.github.com> Date: Tue, 8 Aug 2023 17:07:51 +0300 Subject: Unified prometheus support (#121) * initial refactoring initial changes working version aws test added eks managed prom support coralogix prom support and fix prom bug fixed bug added all aws config changes added docs and fixed requirements copying connect changes from robusta fixing bad typing reformatting added prometrix updated prometrix version * rebase fixes * black formatting * refactored check connection * Fixing victoria metrics check * updating poetry file after rebase --- README.md | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 677354c..e91856b 100644 --- a/README.md +++ b/README.md @@ -377,6 +377,38 @@ Than run the following command with PROMETHEUS_URL substituted for your Azure Ma ```sh python krr.py simple --namespace default -p PROMETHEUS_URL --prometheus-auth-header "Bearer $AZURE_BEARER" ``` +
See here about configuring labels for centralized prometheus
+ + + +## EKS managed Prometheus + +For EKS managed Prometheus you need to add your prometheus link and the flag --eks-managed-prom and krr will automatically use your aws credentials + +```sh +python krr.py simple -p "https://aps-workspaces.REGION.amazonaws.com/workspaces/..." --eks-managed-prom +``` +Additional optional parameters are: +```sh +--eks-profile-name PROFILE_NAME_HERE # to specify the profile to use from your config +--eks-access-key ACCESS_KEY # to specify your access key +--eks-secret-key SECRET_KEY # to specify your secret key +--eks-service-name SERVICE_NAME # to use a specific service name in the signature +--eks-managed-prom-region REGION_NAME # to specify the region the prometheus is in +``` +See here about configuring labels for centralized prometheus
+ + + +## Coralogix managed Prometheus + +For Coralogix managed Prometheus you need to specify your prometheus link and add the flag coralogix_token with your Logs Query Key + +```sh +python krr.py simple -p "https://prom-api.coralogix..." --coralogix_token +``` + +See here about configuring labels for centralized prometheus
-- cgit v1.2.3