aboutsummaryrefslogtreecommitdiff
path: root/plugin/trace/setup_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/trace/setup_test.go')
-rw-r--r--plugin/trace/setup_test.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugin/trace/setup_test.go b/plugin/trace/setup_test.go
index 3c12b76e4..06a1b21bc 100644
--- a/plugin/trace/setup_test.go
+++ b/plugin/trace/setup_test.go
@@ -20,7 +20,8 @@ func TestTraceParse(t *testing.T) {
{`trace localhost:1234`, false, "http://localhost:1234/api/v1/spans", 1, `coredns`, false},
{`trace http://localhost:1234/somewhere/else`, false, "http://localhost:1234/somewhere/else", 1, `coredns`, false},
{`trace zipkin localhost:1234`, false, "http://localhost:1234/api/v1/spans", 1, `coredns`, false},
- {`trace zipkin http://localhost:1234/somewhere/else`, false, "http://localhost:1234/somewhere/else", 1, `coredns`, false},
+ {`trace datadog localhost`, false, "localhost", 1, `coredns`, false},
+ {`trace datadog http://localhost:8127`, false, "http://localhost:8127", 1, `coredns`, false},
{"trace {\n every 100\n}", false, "http://localhost:9411/api/v1/spans", 100, `coredns`, false},
{"trace {\n every 100\n service foobar\nclient_server\n}", false, "http://localhost:9411/api/v1/spans", 100, `foobar`, true},
{"trace {\n every 2\n client_server true\n}", false, "http://localhost:9411/api/v1/spans", 2, `coredns`, true},