apache / druid

Apache Druid: a high performance real-time analytics database.
https://druid.apache.org/
Apache License 2.0
13.41k stars 3.68k forks source link

opentsdb-emitter fails to push metrics #5820

Closed hefei1986 closed 1 year ago

hefei1986 commented 6 years ago

Opentsdb logs as follows: 20:23:04.230 WARN [PutDataPointRpc.execute] - Invalid tag value ("bd-prod-rt-olap0:8082"): illegal character: :: metric=query.cpu.time ts=1527769336 value=1101 service=druid/broker host=bd-prod-rt-olap0:8082 type=segmentMetadata dataSource=accesslog-tranquility-seller-log

tag value should be sanitized too. image

stale[bot] commented 5 years ago

This issue has been marked as stale due to 280 days of inactivity. It will be closed in 2 weeks if no further activity occurs. If this issue is still relevant, please simply write any comment. Even if closed, you can still revive the issue at any time or discuss it on the dev@druid.apache.org list. Thank you for your contributions.

bjozet commented 4 years ago

This was fixed in commit 85391e9fb3cef355dacbbf5c443773fb7aab445a, and subsequently modified in 8f3fe9cd028592b4b1449c2a5e6dba482bed0549

Currently the tags are sanitized in EventConverter.java lines 75-76

( also duplicate of closed issue #6292 )

@gianm : I suspect this can be closed.

stale[bot] commented 3 years ago

This issue has been marked as stale due to 280 days of inactivity. It will be closed in 4 weeks if no further activity occurs. If this issue is still relevant, please simply write any comment. Even if closed, you can still revive the issue at any time or discuss it on the dev@druid.apache.org list. Thank you for your contributions.

github-actions[bot] commented 1 year ago

This issue has been closed due to lack of activity. If you think that is incorrect, or the issue requires additional review, you can revive the issue at any time.