Skip to content

Commit 68f124e

Browse files
authored
Merge pull request #25 from webedx-spark/master
Support `distribution` metrics from datadog.
2 parents 6d49094 + 7e99b7e commit 68f124e

File tree

3 files changed

+6850
-4779
lines changed

3 files changed

+6850
-4779
lines changed

__tests__/main.test.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,13 @@ describe('end-to-end tests', () => {
112112
value: 1.0,
113113
tags: ['foo:bar'],
114114
host: 'example.com'
115+
},
116+
{
117+
type: 'distribution',
118+
name: 'test.builds.distribution',
119+
value: 1.0,
120+
tags: ['foo:bar'],
121+
host: 'example.com'
115122
}
116123
])
117124
process.env['INPUT_EVENTS'] = yaml.safeDump([
@@ -151,6 +158,7 @@ describe('end-to-end tests', () => {
151158
console.log(cp.execSync(`node ${ip}`, options).toString())
152159
} catch (e) {
153160
console.log(e.output.toString())
161+
throw e
154162
}
155163
})
156164
})

0 commit comments

Comments
 (0)