1.1.0 • Published 3 years ago
@alexswensen/circle-splunk-reporter v1.1.0
circle-splunk-reporter
A package to report statistics about circle jobs to splunk.
This package depends on the following environment variables to be set:
CIRCLE_TOKEN - circleci user token that has access to the project you are reporting
SPLUNK_URL - your splunk url
SPLUNK_TOKEN - splunk token
The rest of the environment variables are provided by CircleCI
In order to use:
$ npx @alexswensen/circle-splunk-reporter --name "event name" --index "splunk-index"
example usage in circle config.yml
- run:
name: record metrics to splunk
command: CIRCLE_TOKEN=$CIRCLECI_TOKEN
SPLUNK_TOKEN=$MY_SPLUNK_TOKEN npx
@alexswensen/circle-splunk-reporter --name
"circle-metrics-hello" --index "my-index"
when: always
environment:
SPLUNK_URL: <splunk-url:port>
License
1.1.0
3 years ago
1.1.0-rc1
3 years ago
1.0.1
4 years ago
1.0.0
4 years ago
0.0.4-alpha
4 years ago
0.0.3-beta
4 years ago
0.0.3-alpha
4 years ago
0.0.2-beta
4 years ago
0.0.2-alpha
4 years ago
0.0.1-beta
4 years ago