From 303304f97a57340e29127f7b69645d2a003d3c27 Mon Sep 17 00:00:00 2001
From: Hugo SUBTIL <ext.sopra.husubtil@grandlyon.com>
Date: Mon, 13 Dec 2021 09:23:14 +0100
Subject: [PATCH] feat: update dacc doc

---
 docs/ecolyo/functionalities/dacc.md | 16 ++++++++++++----
 1 file changed, 12 insertions(+), 4 deletions(-)

diff --git a/docs/ecolyo/functionalities/dacc.md b/docs/ecolyo/functionalities/dacc.md
index e1a9b25..5d46401 100644
--- a/docs/ecolyo/functionalities/dacc.md
+++ b/docs/ecolyo/functionalities/dacc.md
@@ -117,6 +117,9 @@ The structure to send is the following :
 with:
 
 - *createdBy*: contains "ecolyo" value.
+- *startDate*: used to defined the start date of the indicator
+- *value*: contains a value relevant to the defined indicator (example: number of page viewed on a day).
+- *groups*: contains all attributes defining a indicator. Please refer to indicators definition (https://stats.cozycloud.cc/question#eyJkYXRhc2V0X3F1ZXJ5Ijp7ImRhdGFiYXNlIjo0LCJxdWVyeSI6eyJzb3VyY2UtdGFibGUiOjh9LCJ0eXBlIjoicXVlcnkifSwiZGlzcGxheSI6InRhYmxlIiwidmlzdWFsaXphdGlvbl9zZXR0aW5ncyI6e319)
 - *mesureName*: contains one of the following value 
   
 | ENUM | value |
@@ -135,9 +138,6 @@ with:
 | FLUID_DATA_GRANULARITY    | fluid-data-granularity-monthly |
 | CONNECTION_COUNT_MONTHLY    | connection-count-monthly |
 | PROFILE_COUNT_MONTHLY    | profile-count-monthly |
-- *startDate*: used to defined the start date of the indicator
-- *value*: contains a value relevant to the defined indicator (example: number of page viewed on a day).
-- *groups*: contains all attributes defining a indicator. Please refer to indicators definition (https://stats.cozycloud.cc/question#eyJkYXRhc2V0X3F1ZXJ5Ijp7ImRhdGFiYXNlIjo0LCJxdWVyeSI6eyJzb3VyY2UtdGFibGUiOjh9LCJ0eXBlIjoicXVlcnkifSwiZGlzcGxheSI6InRhYmxlIiwidmlzdWFsaXphdGlvbl9zZXR0aW5ncyI6e319)
 
 ### Environnements 
 
@@ -208,4 +208,12 @@ You must see sent indicators in the previously open terminal
 {
   data: '{"createdBy":"ecolyo","measureName":"connection-count-monthly","startDate":"2021-12-09","value":3}'
 }
-```
\ No newline at end of file
+```
+
+## How to add new indicator ? 
+
+You have to reach cozy and discuss with them about new indicators. Thery will implement it for `dacc-dev` and `dacc` and you will be able to test it on alpha env. Remember you will need at least 5 data of each type to see it in metabase.
+
+## Visualisation 
+
+All the data aggregated in the dacc can be visualized with a *Metabase* website hosted by cozy (https://stats.cozycloud.cc/).
\ No newline at end of file
-- 
GitLab