-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Issues with tag matching in Graphite templates #1731
Comments
sparrc
added a commit
that referenced
this issue
Oct 10, 2016
Previously, the graphite parser would simply overwrite any template that had an identical filter to a previous template. This included the empty filter. This change automatically creates a "*." filter for any template specified with an empty filter. This allows users to specify only a template, and Telegraf will auto-match based on the most specific template. closes #1731
3 tasks
sparrc
added a commit
that referenced
this issue
Oct 10, 2016
Previously, the graphite parser would simply overwrite any template that had an identical filter to a previous template. This included the empty filter. This change automatically creates a "*." filter for any template specified with an empty filter. This allows users to specify only a template, and Telegraf will auto-match based on the most specific template. closes #1731
sparrc
added a commit
that referenced
this issue
Oct 10, 2016
Previously, the graphite parser would simply overwrite any template that had an identical filter to a previous template. This included the empty filter. Now we will still overwrite, but first we will sort to make sure that the most "specific" template always matches. closes #1731
sparrc
added a commit
that referenced
this issue
Oct 11, 2016
Previously, the graphite parser would simply overwrite any template that had an identical filter to a previous template. This included the empty filter. Now we will still overwrite, but first we will sort to make sure that the most "specific" template always matches. closes #1731
sparrc
added a commit
that referenced
this issue
Oct 11, 2016
Previously, the graphite parser would simply overwrite any template that had an identical filter to a previous template. This included the empty filter. Now we will still overwrite, but first we will sort to make sure that the most "specific" template always matches. closes #1731
sparrc
added a commit
that referenced
this issue
Oct 11, 2016
Previously, the graphite parser would simply overwrite any template that had an identical filter to a previous template. This included the empty filter. Now we will still overwrite, but first we will sort to make sure that the most "specific" template always matches. closes #1731
@sparrc Does telegraf support wildcard matching for tags? For example
Will the output be If it will be the first, is there a way to achieve second? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
version: 1.0.0
Configuring multiple templates for the Graphite input format will result in the shortest template matching successfully while the rest are ignored.
Example:
Greedy matching (like metric*) which is supported for measurements and fields but not tags, could be considered as a solution.
The text was updated successfully, but these errors were encountered: