sofa-lookout icon indicating copy to clipboard operation
sofa-lookout copied to clipboard

Tag selector [=] Filter

Open it-linnan opened this issue 4 years ago • 1 comments

Describe the bug

A clear and concise description of what the bug is. Tag选择器的使用“=”筛选,不能实现全字匹配。

Expected behavior

Tag选择器的使用“=”筛选,能实现全字匹配。 比如jvm.threads.daemon{app="foo"},这样查询只能够查询到foo应用的时序数据

Actual behavior

比如jvm.threads.daemon{app="foo"},这样查询能够查询到foo和gateway等多个应用的时序数据

image

Steps to reproduce

  1. 多个应用接入SOFALookout
  2. 启动SOFALookout服务端
  3. 访问服务端web界面,查询jvm.threads.daemon{app="foo"}

Minimal yet complete reproducer code (or GitHub URL to code)

Environment

  • SOFALookout version: 1.6.0
  • JVM version (e.g. java -version): 1.8
  • OS version (e.g. uname -a):windows10
  • Maven version:3.5
  • IDE version:Intelli IDEA 2019.2

it-linnan avatar Mar 21 '20 08:03 it-linnan

Hi @it-linnan, we detect non-English characters in the issue. This comment is an auto translation by @sofastack-robot to help other users to understand this issue.

We encourage you to describe your issue in English which is more friendly to other users.

Describe the bug A clear and concise description of what the bug is. Tag selectors use "=" to filter, and can't match whole words. ### Expected behavior Tag selector uses "=" to filter, which can realize whole word matching. For example, jvm.threads.daemon {app = "foo"}, this query can only query the time series data of foo application ### Actual behavior, such as jvm.threads.daemon {app = "foo"}, this query can query foo And time series data for multiple applications, such as gateway and gateway! Multiple applications access SOFALookout 2. Start the SOFALookout server 3. Visit the server web interface and query jvm.threads.daemon {app = "foo"} ### Minimal yet complete reproducer code (or GitHub URL to code) ## # Environment-SOFALookout version: 1.6.0-JVM version (eg java -version): 1.8-OS version (eg uname -a): windows10-Maven version: 3.5-IDE version: Intelli IDEA 2019.2

sofastack-bot[bot] avatar Mar 21 '20 08:03 sofastack-bot[bot]