Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
fd8d45fd
Unverified
Commit
fd8d45fd
authored
Mar 12, 2019
by
Torkel Ödegaard
Committed by
GitHub
Mar 12, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #15947 from grafana/ci-metrics-to-hm-instance
Also push to ci metrics to new shared HM instance
parents
5cabf64f
4eef407b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
scripts/circle-metrics.sh
+7
-0
No files found.
scripts/circle-metrics.sh
View file @
fd8d45fd
...
@@ -21,3 +21,10 @@ curl \
...
@@ -21,3 +21,10 @@ curl \
-u
ci:
$CIRCLE_STATS_PWD
\
-u
ci:
$CIRCLE_STATS_PWD
\
-X
POST https://stats.grafana.org/metric-receiver
-X
POST https://stats.grafana.org/metric-receiver
curl https://6371:
$GRAFANA_MISC_STATS_API_KEY
@graphite-us-central1.grafana.net/metrics
\
-H
'Content-type: application/json'
\
-d
'[
{"name":"grafana.ci-code.noImplicitAny", "interval":60, "value": '
$ERROR_COUNT
', "mtype": "gauge", "time": '
$(
date +%s
)
'},
{"name":"grafana.ci-code.directives", "interval":60, "value": '
$DIRECTIVES
', "mtype": "gauge", "time": '
$(
date +%s
)
'},
{"name":"grafana.ci-code.controllers", "interval":60, "value": '
$CONTROLLERS
', "mtype": "gauge", "time": '
$(
date +%s
)
'}
]'
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment