Skip to content

Commit

Permalink
Merge pull request #25 from webedx-spark/master
Browse files Browse the repository at this point in the history
Support `distribution` metrics from datadog.
  • Loading branch information
masci authored Apr 25, 2023
2 parents 6d49094 + 7e99b7e commit 68f124e
Show file tree
Hide file tree
Showing 3 changed files with 6,850 additions and 4,779 deletions.
8 changes: 8 additions & 0 deletions __tests__/main.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,13 @@ describe('end-to-end tests', () => {
value: 1.0,
tags: ['foo:bar'],
host: 'example.com'
},
{
type: 'distribution',
name: 'test.builds.distribution',
value: 1.0,
tags: ['foo:bar'],
host: 'example.com'
}
])
process.env['INPUT_EVENTS'] = yaml.safeDump([
Expand Down Expand Up @@ -151,6 +158,7 @@ describe('end-to-end tests', () => {
console.log(cp.execSync(`node ${ip}`, options).toString())
} catch (e) {
console.log(e.output.toString())
throw e
}
})
})
Loading

0 comments on commit 68f124e

Please sign in to comment.