Addshore has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/247866

Change subject: Retain wikidata.daily.* graphite metrics for longer
......................................................................

Retain wikidata.daily.* graphite metrics for longer

These metrics do not yet exist but they will be at:
 - wikidata.daily.social.facebook.likes
for example.....

We essentially want to keep these metrics indefinatly.

For the default metrics a max of roughly 25000 data points
are maintained before being deleted.
For this new schema at most roughly 7000 are maintained.

Note: This should be merged and deployed before
any data is added to the metrics as if data is added before
the metrics will use the default schema and this can not
be changed easily afaik.

Change-Id: I7c8a7e4989a8034183ef5cbe3e426ac8a2a8a7e3
---
M manifests/role/graphite.pp
1 file changed, 5 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/66/247866/1

diff --git a/manifests/role/graphite.pp b/manifests/role/graphite.pp
index 86818a6..3f5d327 100644
--- a/manifests/role/graphite.pp
+++ b/manifests/role/graphite.pp
@@ -43,6 +43,11 @@
                 pattern    => '.*',
                 retentions => '1m:7d,5m:14d,15m:30d,1h:1y',
             },
+            # Retains some specific wikidata daily metrics for much longer
+            'wikidata-daily' => {
+                pattern    => '^wikidata\.daily\..*',
+                retentions => '1d:5y,7d:100y',
+            },
         },
 
         # Aggregation methods for whisper files.

-- 
To view, visit https://gerrit.wikimedia.org/r/247866
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I7c8a7e4989a8034183ef5cbe3e426ac8a2a8a7e3
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Addshore <addshorew...@gmail.com>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to