Skip to content

Commit

Permalink
BC-8360 - send metrics to longterm
Browse files Browse the repository at this point in the history
  • Loading branch information
mamutmk5 committed Nov 6, 2024
1 parent 0d2c36e commit 3c49556
Showing 1 changed file with 76 additions and 30 deletions.
106 changes: 76 additions & 30 deletions ansible/roles/mongodb_query_exporter/templates/values.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@ aggregations:
constLabels:
mongodb_collection: accounts
longterm: 'true'
mode:
cache: 1m
mode: pull
pipeline: |
[
{"$count":"count"}
Expand Down Expand Up @@ -367,7 +366,6 @@ aggregations:
mongodb_collection: users
longterm: 'true'
mode: pull
cache: 5m
pipeline: |
[
{"$count":"count"}
Expand All @@ -386,7 +384,6 @@ aggregations:
mongodb_collection: users
longterm: 'true'
mode: pull
cache: 5m
pipeline: |
[
{
Expand All @@ -412,7 +409,6 @@ aggregations:
mongodb_collection: users
longterm: 'true'
mode: pull
cache: 5m
pipeline: |
[
{
Expand All @@ -438,7 +434,6 @@ aggregations:
mongodb_collection: users
longterm: 'true'
mode: pull
cache: 5m
pipeline: |
[
{
Expand Down Expand Up @@ -497,7 +492,9 @@ aggregations:
overrideEmpty: true
emptyValue: 0
labels: []
constLabels: [{"mongodb_collection": "coursegroups"}]
constLabels:
mongodb_collection: coursegroups
longterm: 'true'
mode: pull
pipeline: |
[
Expand All @@ -514,7 +511,9 @@ aggregations:
overrideEmpty: true
emptyValue: 0
labels: []
constLabels: [{"mongodb_collection": "lessons"}]
constLabels:
mongodb_collection: lessons
longterm: 'true'
mode: pull
pipeline: |
[
Expand All @@ -530,7 +529,9 @@ aggregations:
overrideEmpty: true
emptyValue: 0
labels: []
constLabels: [{"mongodb_collection": "lessons"}]
constLabels:
mongodb_collection: lessons
longterm: 'true'
mode: pull
pipeline: |
[
Expand All @@ -550,7 +551,9 @@ aggregations:
overrideEmpty: true
emptyValue: 0
labels: []
constLabels: [{"mongodb_collection": "lessons"}]
constLabels:
mongodb_collection: lessons
longterm: 'true'
mode: pull
pipeline: |
[
Expand All @@ -570,7 +573,9 @@ aggregations:
overrideEmpty: true
emptyValue: 0
labels: []
constLabels: [{"mongodb_collection": "lessons"}]
constLabels:
mongodb_collection: lessons
longterm: 'true'
mode: pull
pipeline: |
[
Expand All @@ -590,7 +595,9 @@ aggregations:
overrideEmpty: true
emptyValue: 0
labels: []
constLabels: [{"mongodb_collection": "lessons"}]
constLabels:
mongodb_collection: lessons
longterm: 'true'
mode: pull
pipeline: |
[
Expand All @@ -610,7 +617,9 @@ aggregations:
overrideEmpty: true
emptyValue: 0
labels: []
constLabels: [{"mongodb_collection": "lessons"}]
constLabels:
mongodb_collection: lessons
longterm: 'true'
mode: pull
pipeline: |
[
Expand All @@ -630,7 +639,9 @@ aggregations:
overrideEmpty: true
emptyValue: 0
labels: []
constLabels: [{"mongodb_collection": "lessons"}]
constLabels:
mongodb_collection: lessons
longterm: 'true'
mode: pull
pipeline: |
[
Expand All @@ -651,7 +662,9 @@ aggregations:
overrideEmpty: true
emptyValue: 0
labels: []
constLabels: [{"mongodb_collection": "homeworks"}]
constLabels:
mongodb_collection: homeworks
longterm: 'true'
mode: pull
pipeline: |
[
Expand All @@ -667,7 +680,9 @@ aggregations:
overrideEmpty: true
emptyValue: 0
labels: []
constLabels: [{"mongodb_collection": "homeworks"}]
constLabels:
mongodb_collection: homeworks
longterm: 'true'
mode: pull
pipeline: |
[
Expand All @@ -684,7 +699,9 @@ aggregations:
overrideEmpty: true
emptyValue: 0
labels: []
constLabels: [{"mongodb_collection": "homeworks"}]
constLabels:
mongodb_collection: homeworks
longterm: 'true'
mode: pull
pipeline: |
[
Expand All @@ -701,7 +718,9 @@ aggregations:
overrideEmpty: true
emptyValue: 0
labels: []
constLabels: [{"mongodb_collection": "homeworks"}]
constLabels:
mongodb_collection: homeworks
longterm: 'true'
mode: pull
pipeline: |
[
Expand All @@ -718,7 +737,9 @@ aggregations:
overrideEmpty: true
emptyValue: 0
labels: []
constLabels: [{"mongodb_collection": "homeworks"}]
constLabels:
mongodb_collection: homeworks
longterm: 'true'
mode: pull
pipeline: |
[
Expand All @@ -735,7 +756,9 @@ aggregations:
overrideEmpty: true
emptyValue: 0
labels: []
constLabels: [{"mongodb_collection": "filerecords"}]
constLabels:
mongodb_collection: filerecords
longterm: 'true'
mode: pull
pipeline: |
[
Expand All @@ -755,7 +778,9 @@ aggregations:
overrideEmpty: true
emptyValue: 0
labels: []
constLabels: [{"mongodb_collection": "submissions"}]
constLabels:
mongodb_collection: submissions
longterm: 'true'
mode: pull
pipeline: |
[
Expand All @@ -772,7 +797,9 @@ aggregations:
overrideEmpty: true
emptyValue: 0
labels: []
constLabels: [{"mongodb_collection": "teams"}]
constLabels:
mongodb_collection: teams
longterm: 'true'
mode: pull
pipeline: |
[
Expand All @@ -789,7 +816,9 @@ aggregations:
overrideEmpty: true
emptyValue: 0
labels: []
constLabels: [{"mongodb_collection": "videoconferences"}]
constLabels:
mongodb_collection: videoconferences
longterm: 'true'
mode: pull
pipeline: |
[
Expand All @@ -806,7 +835,9 @@ aggregations:
overrideEmpty: true
emptyValue: 0
labels: []
constLabels: [{"mongodb_collection": "files"}]
constLabels:
mongodb_collection: files
longterm: 'true'
mode: pull
pipeline: |
[
Expand All @@ -822,7 +853,9 @@ aggregations:
overrideEmpty: true
emptyValue: 0
labels: []
constLabels: [{"mongodb_collection": "files"}]
constLabels:
mongodb_collection: files
longterm: 'true'
mode: pull
pipeline: |
[
Expand All @@ -839,7 +872,9 @@ aggregations:
overrideEmpty: true
emptyValue: 0
labels: []
constLabels: [{"mongodb_collection": "files"}]
constLabels:
mongodb_collection: files
longterm: 'true'
mode: pull
pipeline: |
[
Expand All @@ -856,7 +891,9 @@ aggregations:
overrideEmpty: true
emptyValue: 0
labels: []
constLabels: [{"mongodb_collection": "files"}]
constLabels:
mongodb_collection: files
longterm: 'true'
mode: pull
pipeline: |
[
Expand All @@ -874,7 +911,9 @@ aggregations:
overrideEmpty: true
emptyValue: 0
labels: []
constLabels: [{"mongodb_collection": "filerecords"}]
constLabels:
mongodb_collection: filerecords
longterm: 'true'
mode: pull
pipeline: |
[
Expand All @@ -891,7 +930,9 @@ aggregations:
overrideEmpty: true
emptyValue: 0
labels: []
constLabels: [{"mongodb_collection": "news"}]
constLabels:
mongodb_collection: news
longterm: 'true'
mode: pull
pipeline: |
[
Expand All @@ -908,7 +949,9 @@ aggregations:
overrideEmpty: true
emptyValue: 0
labels: []
constLabels: [{"mongodb_collection": "boardnodes"}]
constLabels:
mongodb_collection: boardnodes
longterm: 'true'
mode: pull
pipeline: |
[
Expand Down Expand Up @@ -998,6 +1041,9 @@ aggregations:
emptyValue: 0
labels: []
constLabels: [{"mongodb_collection": "deletionrequests"}]
constLabels:
mongodb_collection: accounts
longterm: 'true'
mode: pull
pipeline: |
[
Expand Down

0 comments on commit 3c49556

Please sign in to comment.