handling of metrics with : colon in them seems broken

Open
#140 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
clickhouse, java
Domain
databases

Research direction

Start by reproducing the reported ingestion failure through Graphouse's port 2023 with the provided netcat command, then trace how the colon-containing metric name is handled before reaching ClickHouse. Done means the example metric ingests successfully without requiring numeric MIB names, with the behavior verified against the existing graphite/carbon-compatible path.

Written by the indexing model from the issue text.

Description

I'm just finishing up migrating from carbon to graphouse/clickhouse and found that we have a bunch of snmp metrics that failed to backfill/load. I can work around this by using numeric MIBs but thought that I should add an issue here to help others in case they don't have that workaround.

Something like the following will work on graphite/carbon but fails to ingest into clickhouse/graphouse.

root@admin02:~# echo "test.bash.st-a::ts 42 `date +%s`" | nc localhost 2023                                           
root@admin02:~# echo "test.bash.st-a::ts 42 `date +%s`" | nc localhost 2023
root@admin02:~# echo "test.bash.st-a::ts 42 `date +%s`" | nc localhost 2023 ```
Dominant language
Java
Stars
260
Forks
55
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from ClickHouse/graphouse

All issues in ClickHouse/graphouse

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.