Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delete recording rules #1

Open
wants to merge 32 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
589ad07
Update recording.rules.yml
AndrejKiri Jul 9, 2023
2777b9c
Update prometheus.yml
AndrejKiri Jul 9, 2023
d7b95b8
Update prometheus.yml
AndrejKiri Jul 9, 2023
81974a5
Remove https
AndrejKiri Jul 9, 2023
1890836
Try a different port
AndrejKiri Jul 9, 2023
b2c493d
Change port
AndrejKiri Jul 10, 2023
464d7b2
Remove port
AndrejKiri Jul 10, 2023
22d2f4a
Update prometheus.yml to match with LF course stuff
AndrejKiri Oct 31, 2023
9015ad0
Update prometheus.yml to include demo service
AndrejKiri Oct 31, 2023
e583892
Add redirector
AndrejKiri Nov 2, 2023
d2796f3
Fix wrong url
AndrejKiri Nov 2, 2023
a033740
Add relabeling
AndrejKiri Mar 27, 2024
0b5dba3
Update relabeling
AndrejKiri Mar 27, 2024
a5328fa
Update relabeling on the right service
AndrejKiri Mar 27, 2024
9516dc1
Remove other services
AndrejKiri Mar 27, 2024
65b90c8
Remove demo
AndrejKiri Mar 27, 2024
40273bc
Remove prometheus and add demo service
AndrejKiri Mar 27, 2024
a9cdc51
Return to original config
AndrejKiri Mar 27, 2024
22998d7
Update regex
AndrejKiri Mar 27, 2024
4789ac3
Update regex
AndrejKiri Mar 27, 2024
b79a44d
Update relabeling
AndrejKiri Mar 27, 2024
6b518bb
Update relabeling
AndrejKiri Mar 27, 2024
c802244
Update prometheus.yml
AndrejKiri Mar 27, 2024
1552937
Update prometheus.yml
AndrejKiri Mar 27, 2024
7a24dd9
Update prometheus.yml
AndrejKiri Mar 27, 2024
4322b93
Update prometheus.yml
AndrejKiri Mar 27, 2024
5bf4552
Update prometheus.yml
AndrejKiri Mar 27, 2024
ff7dd46
Update prometheus.yml
AndrejKiri Mar 27, 2024
f526466
Update prometheus.yml
AndrejKiri Mar 27, 2024
6243e2b
Update prometheus.yml
AndrejKiri Mar 27, 2024
c02e29f
Update prometheus.yml
AndrejKiri Mar 27, 2024
6fd63e1
Update prometheus.yml
AndrejKiri Mar 27, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 35 additions & 11 deletions prometheus/prometheus.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,37 @@
global:
scrape_interval: 15s
evaluation_interval: 15s
external_labels:
monitor: '<monitor-name>'

rule_files:
- 'recording.rules.yml'

scrape_interval: 5s
evaluation_interval: 5s
scrape_configs:
- job_name: <job-name>
static_configs:
- targets: ['<target>']
- job_name: prometheus
static_configs:
- targets:
- prometheus-e83j.onrender.com
- job_name: demo
static_configs:
- targets:
- prometheus-demo-service.onrender.com
metric_relabel_configs:
- action: keep
source_labels: [__name__]
regex: '(demo_|http_).*'
- job_name: redirector
static_configs:
- targets:
- ux-research-redirector.onrender.com
remote_write:
- url: https://prometheus-prod-13-prod-us-east-0.grafana.net/api/prom/push
basic_auth:
username: 1495985
password: "glc_eyJvIjoiNjk0NTU5IiwibiI6InJlbW90ZS13cml0ZS1mb3ItZGF0YS10cmFpbHMtc2hvcnQtdG9rZW4iLCJrIjoia0NoaTE3ZGZnOG0wZHo5ME5maDcyYTI1IiwibSI6eyJyIjoicHJvZC11cy1lYXN0LTAifX0="
write_relabel_configs:
- action: keep
source_labels: [__name__]
regex: '(demo_).*'
- url: https://prometheus-prod-13-prod-us-east-0.grafana.net/api/prom/push
basic_auth:
username: 1496441
password: "glc_eyJvIjoiNjk0NTU5IiwibiI6InJlbW90ZS13cml0ZS1kYXRhLXRyYWlscy10b2tlbjIiLCJrIjoiODJEZ0g2T2ZKODI1cVUxTmh6N2Q5OWZtIiwibSI6eyJyIjoicHJvZC11cy1lYXN0LTAifX0="
write_relabel_configs:
- action: keep
source_labels: [__name__]
regex: '(demo_).*'
7 changes: 1 addition & 6 deletions prometheus/recording.rules.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1 @@
groups:
- name: events
interval: 15s
rules:
- record: <rule-record>
expr: <rule-expr>