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

Missing tag data with after slash separator #135

Open
evdevk opened this issue Dec 22, 2023 · 2 comments
Open

Missing tag data with after slash separator #135

evdevk opened this issue Dec 22, 2023 · 2 comments

Comments

@evdevk
Copy link

evdevk commented Dec 22, 2023

Starting from carbon-clickhouse-0.11.2-1 and above (carbon-clickhouse-0.11.1-1 working ok) there was some strange bug with uploading metrics.

If I set tag value as symbol/single_symbol - carbon-clickhouse lose single_symbol. If I set tag value as symbol/multiple_symbols - all ok.

Working ok example (check port_name):

metric_name;contur=prod&interval=30s;port_name=0/22 123 1703255195
metric_name;contur=prod&interval=30s;port_name=0/x1 123 1703255195
metric_name;contur=prod&interval=30s;port_name=0/.x 123 1703255195

Tag1 result list:
port_name=0/22
port_name=0/x1
port_name=0/.x

Bug example (check port_name):

metric_name;contur=prod&interval=30s;port_name=0/1 123 1703255195
metric_name;contur=prod&interval=30s;port_name=0/x 123 1703255195
metric_name;contur=prod&interval=30s;port_name=0/. 123 1703255195

Tag1 result list:
port_name=0/
port_name=0/
port_name=0/

@msaf1980
Copy link
Collaborator

@evdevk Can You test against master ? It's may be #116

@evdevk
Copy link
Author

evdevk commented Apr 27, 2024

@evdevk Can You test against master ? It's may be #116
Looks like not fixed.

  1. I've clone master branch
  2. gownload go1.18
  3. make (binary have 0.11.7) and replace carbon-clickhouse binary
  4. push same 3 metrics from example above and got port_name=0/

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

No branches or pull requests

2 participants