Skip to content

Commit 2010849

Browse files
Merge pull request #17 from Eppo-exp/malo/fix-new-schema-with-guardrail_cutoff
Add guardrail_cutoff to eppo_metric_schema.json
2 parents 6286c04 + 7bb3344 commit 2010849

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

eppo_metrics_sync/schema/eppo_metric_schema.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,10 @@
140140
"description": "URL to use for 'Open in GitHub' in Eppo UI (optional)",
141141
"type": "string"
142142
},
143+
"guardrail_cutoff": {
144+
"description": "If a metric is expected to increase, this value should be negative, to warn when the metric is decreasing by more than this value.",
145+
"type": "number"
146+
},
143147
"numerator": {
144148
"description": "Specify how the numerator of this metric should be aggregated",
145149
"type": "object",

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
setup(
44
name='eppo_metrics_sync',
5-
version='0.0.6',
5+
version='0.0.7',
66
packages=find_packages(),
77
install_requires=[
88
'PyYAML', 'jsonschema', 'requests'

0 commit comments

Comments
 (0)