Skip to content
This repository has been archived by the owner on Dec 10, 2018. It is now read-only.

Pipe character bug fix with tests #20

Open
wants to merge 16 commits into
base: master
Choose a base branch
from

Conversation

rue-mchang
Copy link

Metrics sent through connect-datadog cannot contain a route with a pipe character, since the pipe character is used as a delimiter. This fix replaces the pipe character with a configurable replacement character.

We also introduce a few additional improvements, including:

Ability to append the baseUrl to the path in the tags
A new unit test suite with Jest.

Karl Kirch and others added 16 commits June 19, 2014 11:45
Bug fix: Sending metrics with pipes in the route
- Configurable with 'method' option on middleware initialization
It already existed so adding the code was not the appropriate path to take. In the mean time, I standardized the `method` option to be treated similarly to how the other options are treated
That’s now part of test setup for the request object
New unit tests for connect-datadog library
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.

2 participants