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

Tag selector [=] Filter #83

Open
it-linnan opened this issue Mar 21, 2020 · 1 comment · May be fixed by #84
Open

Tag selector [=] Filter #83

it-linnan opened this issue Mar 21, 2020 · 1 comment · May be fixed by #84

Comments

@it-linnan
Copy link

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
@sofastack-bot sofastack-bot bot changed the title Tag选择器的"="筛选 Tag selector "=" Filter Mar 21, 2020
@sofastack-bot
Copy link

sofastack-bot bot commented Mar 21, 2020

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

@it-linnan it-linnan changed the title Tag selector "=" Filter Tag selector [=] Filter Mar 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant