|
9 | 9 | "description": "An optional identifier for the source of metrics. Recommended to be defined in CI/CD and not in yaml files",
|
10 | 10 | "type": "string"
|
11 | 11 | },
|
| 12 | + "reference_url": { |
| 13 | + "description": "An optional URL to link to in the Eppo UI", |
| 14 | + "type": "string" |
| 15 | + }, |
12 | 16 | "fact_sources": {
|
13 | 17 | "description": "A fact source, corresponds to a fact SQL definition in the Eppo UI",
|
14 | 18 | "type": "array",
|
|
29 | 33 | "type": "string"
|
30 | 34 | },
|
31 | 35 | "reference_url": {
|
32 |
| - "description": "URL to use for 'Open in GitHub' in Eppo UI (optional)", |
| 36 | + "description": "An optional URL to link to in the Eppo UI", |
33 | 37 | "type": "string"
|
34 | 38 | },
|
35 | 39 | "entities": {
|
|
149 | 153 | "type": "number"
|
150 | 154 | },
|
151 | 155 | "reference_url": {
|
152 |
| - "description": "URL to use for 'Open in GitHub' in Eppo UI (optional)", |
| 156 | + "description": "An optional URL to link to in the Eppo UI", |
153 | 157 | "type": "string"
|
154 | 158 | },
|
155 | 159 | "guardrail_cutoff": {
|
|
251 | 255 | "winsorization_upper_percentile": {
|
252 | 256 | "description": "Percentile at which to clip aggregated metrics (optional)",
|
253 | 257 | "type": "number"
|
| 258 | + }, |
| 259 | + "winsor_lower_fixed_value": { |
| 260 | + "description": "A fixed value to clip the lower percentile at (optional)", |
| 261 | + "type": "number" |
| 262 | + }, |
| 263 | + "winsor_upper_fixed_value": { |
| 264 | + "description": "A fixed value to clip the upper percentile at (optional)", |
| 265 | + "type": "number" |
254 | 266 | }
|
255 | 267 | }
|
256 | 268 | },
|
|
306 | 318 | "description": "What time unit to use: minutes, hours, days, or weeks (optional)",
|
307 | 319 | "enum": ["minutes", "hours", "days", "weeks", "calendar_days"]
|
308 | 320 | },
|
| 321 | + "aggregation_enable_aging_subject_filter": { |
| 322 | + "description": "Controls whether subjects (entities) should be filtered out of metric calculations until they have 'aged' for a sufficient period. This is particularly important for metrics that require a certain observation period to be meaningful.", |
| 323 | + "type": "boolean" |
| 324 | + }, |
309 | 325 | "winsorization_lower_percentile": {
|
310 | 326 | "description": "Percentile at which to clip aggregated metrics (optional)",
|
311 | 327 | "type": "number"
|
312 | 328 | },
|
313 | 329 | "winsorization_upper_percentile": {
|
314 | 330 | "description": "Percentile at which to clip aggregated metrics (optional)",
|
315 | 331 | "type": "number"
|
| 332 | + }, |
| 333 | + "winsor_lower_fixed_value": { |
| 334 | + "description": "A fixed value to clip the lower percentile at (optional)", |
| 335 | + "type": "number" |
| 336 | + }, |
| 337 | + "winsor_upper_fixed_value": { |
| 338 | + "description": "A fixed value to clip the upper percentile at (optional)", |
| 339 | + "type": "number" |
316 | 340 | }
|
317 | 341 | }
|
318 | 342 | },
|
|
331 | 355 | "type": "number",
|
332 | 356 | "minimum": 0,
|
333 | 357 | "maximum": 1
|
| 358 | + }, |
| 359 | + "filters": { |
| 360 | + "description": "Optional fact property filters to apply", |
| 361 | + "type": "array", |
| 362 | + "items": { |
| 363 | + "type": "object", |
| 364 | + "additionalProperties": false, |
| 365 | + "required": ["fact_property", "operation", "values"], |
| 366 | + "properties": { |
| 367 | + "fact_property": { |
| 368 | + "description": "Must match one of the values in fact_sources.properties.name", |
| 369 | + "type": "string" |
| 370 | + }, |
| 371 | + "operation": { |
| 372 | + "description": "Either equals or not_equals", |
| 373 | + "enum": ["equals", "not_equals"] |
| 374 | + }, |
| 375 | + "values": { |
| 376 | + "description": "Values to include if operation is 'equals', or exclude if operation is 'not_equals'", |
| 377 | + "type": "array", |
| 378 | + "items": { |
| 379 | + "type": "string" |
| 380 | + } |
| 381 | + } |
| 382 | + } |
| 383 | + } |
334 | 384 | }
|
335 | 385 | }
|
336 | 386 | }
|
|
0 commit comments