diff options
Diffstat (limited to 'config/metrics/schema.json')
-rw-r--r-- | config/metrics/schema.json | 26 |
1 files changed, 25 insertions, 1 deletions
diff --git a/config/metrics/schema.json b/config/metrics/schema.json index d3afc779e14..90951f1b3dc 100644 --- a/config/metrics/schema.json +++ b/config/metrics/schema.json @@ -95,6 +95,29 @@ "options": { "type": "object" }, + "events": { + "type": "array", + "items": { + "type": "object", + "required": [ + "name", + "unique" + ], + "properties": { + "name": { + "type": "string" + }, + "unique": { + "type": "string", + "enum": [ + "user.id", + "project.id", + "namespace.id" + ] + } + } + } + }, "time_frame": { "type": "string", "enum": [ @@ -112,7 +135,8 @@ "redis_hll", "prometheus", "system", - "license" + "license", + "internal_events" ] }, "data_category": { |