Skip to content

Commit

Permalink
Merge pull request #17 from Eppo-exp/malo/fix-new-schema-with-guardra…
Browse files Browse the repository at this point in the history
…il_cutoff

Add guardrail_cutoff to eppo_metric_schema.json
  • Loading branch information
MaloChevillotte authored Oct 8, 2024
2 parents 6286c04 + 7bb3344 commit 2010849
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions eppo_metrics_sync/schema/eppo_metric_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,10 @@
"description": "URL to use for 'Open in GitHub' in Eppo UI (optional)",
"type": "string"
},
"guardrail_cutoff": {
"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.",
"type": "number"
},
"numerator": {
"description": "Specify how the numerator of this metric should be aggregated",
"type": "object",
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

setup(
name='eppo_metrics_sync',
version='0.0.6',
version='0.0.7',
packages=find_packages(),
install_requires=[
'PyYAML', 'jsonschema', 'requests'
Expand Down

0 comments on commit 2010849

Please sign in to comment.