Skip to content

[Bug] Cannot search http headers on trace page #8305

@shelltea

Description

@shelltea

Search before asking

  • I had searched in the issues and found no similar issues.

Apache SkyWalking Component

OAP server (apache/skywalking)

What happened

  1. Set SW_PLUGIN_HTTP_INCLUDE_HTTP_HEADERS=x-request-id,x-correlation-id in environment.
  2. OAP-Server Set SW_SEARCHABLE_TAG_KEYS=http.method,http.headers,status_code,db.type,db.instance,mq.queue,mq.topic,mq.broker in environment.
  3. Send a request with header x-request-id and x-correlation-id like this:
curl "http://localhost:8080/a" \
     -H 'X-Request-ID: 64b95619-be46-4b4b-98f9-14fa24bc3452' \
     -H 'X-Correlation-ID: a3370c3d-53d5-4a3b-b6e2-411eebd42dec'
  1. On trace page
    image
    image
  2. Search tag like this:
    image
    image
    Got nothing ,or search like this:
    image
    image

What you expected to happen

Can search with http headers.

How to reproduce

Just like that.

Anything else

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    agentLanguage agent related.bugSomething isn't working and you are sure it's a bug!good first issueGood first issue for beginnerspluginPlugin for agent or collector. Be used to extend the capabilities of default implementor.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions