Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use schema from metrictank #375

Merged
merged 5 commits into from
Aug 22, 2019
Merged

use schema from metrictank #375

merged 5 commits into from
Aug 22, 2019

Conversation

robert-milan
Copy link
Contributor

This PR updates carbon-relay-ng to use schema from github.com/grafana/metrictank. It also begins using the Validate() method. Validate() uses EatDots() from raintank/schema#34 and is part of our overall dot munging effort. Validate() also rejects invalid tags. An error message will be logged whenever Validate() fails.

See also: grafana/metrictank#1008, #296, grafana/metrictank#1435, raintank/schema#28, raintank/schema#31, raintank/schema#32, raintank/schema#34

Copy link
Contributor

@replay replay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with some comments. please fix before merging

change error message for clarity
@robert-milan robert-milan merged commit 4bc1853 into master Aug 22, 2019
@robert-milan robert-milan deleted the use-schema-from-metrictank branch August 22, 2019 11:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants