Skip to content
This repository has been archived by the owner on Nov 30, 2021. It is now read-only.

feat/request tags #102

Merged
merged 2 commits into from
Feb 11, 2021
Merged

feat/request tags #102

merged 2 commits into from
Feb 11, 2021

Conversation

kikito
Copy link
Member

@kikito kikito commented Feb 10, 2021

Allows inserting custom tags on the Zipkin request trace by adding specific headers to the request.

The header is customizable via config (defaults to Zipkin-Tags).

The tags must have the following syntax:

Zipkin-Tags: name1=value1; name2=value2

Implements #97

When developing locally, `ZIPKIN_HOST=localhost bin/busted ...` can be used.
@kikito kikito marked this pull request as ready for review February 10, 2021 15:46
@kikito kikito changed the title Feat/request tags feat/request tags Feb 10, 2021
end

local t = type(tags_header)
local tags, errors = {}, {}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we could probably use new_tab with a reasonable size, and perhaps cache parsed tags, but I would leave that as future improvements

@kikito kikito merged commit 9b3ece0 into master Feb 11, 2021
@kikito kikito deleted the feat/request-tags branch February 11, 2021 19:05
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants