Skip to content

Commit 661dc9d

Browse files
committed
edit kuber example
1 parent b4ca1b6 commit 661dc9d

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

chronos_npm_package/README.md

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,8 @@ Chronos can monitor an Kubernetes clusters by saving metric data from instant qu
207207

208208
In `chronos-config.js`, set the `mode` to `kubernetes` and pass it both the name of the port the Prometheus server is listening on INSIDE the cluster, and the name of the Prometheus service so that its IP address can be resolved using KubeDNS.
209209

210+
Also add a `grafanaAPIKey` section, this API key will grant chronos access to create and update dashboards in Grafana.
211+
210212
```js
211213
// Excerpt from a chronos-config.js
212214

@@ -217,13 +219,6 @@ module.exports = {
217219
promService: 'prometheus-service',
218220
promPort: 8080,
219221

220-
database: {
221-
connection: 'REST',
222-
type: process.env.CHRONOS_DB,
223-
URI: process.env.CHRONOS_URI,
224-
},
225-
226-
227222
grafanaAPIKey: process.env.CHRONOS_GRAFANA_API_KEY,
228223

229224
// ...

0 commit comments

Comments
 (0)