镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Bucky.send accepts type 'string' - #33

Open
sgeb wants to merge 1 commit into
HubSpot:masterfrom
sgeb:send-string
Open

sgeb wants to merge 1 commit into
HubSpot:masterfrom
sgeb:send-string

Conversation

@sgeb

@sgeb sgeb commented Jun 16, 2016

Copy link
Copy Markdown

Previously it was only possible to send numeric values (types: timer,
gauge and counter). This commit adds supports for a type string
which accepts arbitrary strings. The identifier in a measurement is s,
as in this.is.a.string:hello|s.

My current use-case requires this in order to pass a correlation ID
together with the measurements. Sharing as PR in hopes for it to be
useful to somebody.

Previously it was only possible to send numeric values (types: `timer`,
`gauge` and `counter`). This commit adds supports for a type `string`
which accepts arbitrary strings. The identifier in a measurement is `s`,
as in `this.is.a.string:hello|s`.

My current use-case requires this in order to pass a correlation ID
together with the measurements. Sharing as PR in hopes for it to be
useful to somebody.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant