Tonina_Zhelyazkova_WMDE added a comment.

  Here's a board counting `string`, `url` and `external-id` data types 
https://grafana.wikimedia.org/d/pVG7xcAZz/wikidata-bridge-data-types?panelId=2&fullscreen&edit&orgId=1
  We can also have a board per type. Not sure which is better. 
  Some explanation of the data source queries:
  
  - `summarize(counter.MediaWiki.wikibase.client.databridge.datatype.string, 
'1day', 'sum', false)`
  
  interval = 1day; aggregation function = sum, align to form = false
  Summarizes the datatype into interval buckets of 1 day.
  
  - `sortByMaxima(<the result of the summarize function>)`
  
  Sorts the list of metrics in descending order by the maximum value across the 
time period specified.
  
  - `consolidateBy(<the result of sortByMaxima>, 'sum')`
  
  When a graph is drawn where width of the graph size in pixels is smaller than 
the number of datapoints to be graphed, Graphite consolidates the values to 
prevent line overlap. The consolidateBy() function changes the consolidation 
function from the default of ‘average’ to one of ‘sum’.
  
  - `aliasByNode(<the result of consolidateBy>, 3)`
  
  Uses an alias derived from a node in the metric name. 
  Honestly I'm not sure why it's 3 but all of wikimedia de boards use this 
number.
  
  Source: Graphite Docs 
<https://graphite.readthedocs.io/en/latest/functions.html>

TASK DETAIL
  https://phabricator.wikimedia.org/T236237

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Tonina_Zhelyazkova_WMDE
Cc: Lucas_Werkmeister_WMDE, Addshore, Aklapper, darthmon_wmde, Michael, 
DannyS712, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, 
_jensen, rosalieper, Wikidata-bugs, aude, Lydia_Pintscher, Mbch331
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to