You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Streamlined Visualization: Docker and Kubernetes integrate with Grafana to provide dynamic visualization of collected metrics
4
-
-Ability to select graph type and process kubernetes resource data
4
+
-Kubernetes graph type customization and resource data processing
5
5
- Bug Fixes
6
6
- Refactored code for additional modularity and customization
7
7
@@ -144,6 +144,7 @@ Chronos provides the option to send emails. The properties that should be provi
144
144
145
145
146
146
**NOTE: Email notification settings may require alternative security settings to work**
147
+
#
147
148
148
149
### Chronos Tracker for "Microservices" Mode
149
150
The mode `microservices` uses the additional setting `dockerized`, which indicates whether or not the microservice has been containerized with Docker. If omitted, Chronos will assume this server is not running in a container, i.e. `dockerized` will default to _false_.
@@ -278,12 +279,13 @@ When viewing your information in the Chronos Electron application the data will
278
279
279
280
**NOTE:** We provide a jmx_config.yaml file in the Chronos root folder for use with JMX prometheus that provides some useful baseline metrics to monitor.
280
281
281
-
### Chronos Tracker for "docker" Mode
282
-
Chronos can monitor Docker containers by saving metric data from instant queries to a Prometheus server in your Docker container.
282
+
#
283
+
### Chronos Tracker for "Docker" Mode
284
+
Chronos monitors Docker containers by storing metric data through instant Prometheus queries within your Docker container environment.
283
285
284
-
In `chronos-config.js`, set the `mode` to `docker` and pass it both the name of the port the Prometheus server is listening on INSIDE the container, and the name of the Prometheus service so that its IP address can be resolved using DNS.
286
+
In `chronos-config.js`, configure the `mode`parameter to `docker`. Additionally, provide the name of the port where the Prometheus server is actively listening inside the container, and specify the name of the Prometheus service to enable DNS-based resolution of its IP address.
285
287
286
-
Also add a `grafanaAPIKey` section, this API key will grant chronos access to create and update dashboards in Grafana.
288
+
Also add a `grafanaAPIKey` section, this API key will authorize Chronos for dashboard creation and updates in Grafana.
287
289
288
290
```js
289
291
// Excerpt from a chronos-config.js
@@ -302,7 +304,7 @@ module.exports = {
302
304
303
305
```
304
306
305
-
Then, insert the code below into a **SINGLE** microservice that will be deployed only as a **SINGLE** container, call `Chronos.docker`:
307
+
Then, implement the subsequent code snippet within a **SINGLE** microservice that will be deployed only as a **SINGLE** container, and call `Chronos.docker`:
@@ -312,6 +314,7 @@ const chronos = new Chronos(chronosConfig);
312
314
chronos.docker();
313
315
```
314
316
317
+
315
318
### Chronos Tracker for gRPC
316
319
317
320
To monitor your gRPC server, setup `chronos-config.js` as if it was a standard microservices example, but be sure to set the `connection` type to `gRPC`.
Copy file name to clipboardExpand all lines: examples/docker/README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,11 +27,11 @@ For additional details on how Chronos works this example, please review the Dock
27
27
28
28
## Grafana API KEY
29
29
30
-
1.Run docker compose command below (LN 61) to start your Grafana container before you can access your service account token.
30
+
1.To initiate your Grafana container and prepare for accessing your service account token, execute the following command: `docker-compose -f docker-compose.yml up`
31
31
32
-
2. In your browser, go to `localhost:32000`, which will be the login page of grafana. Use `admin` as both username and password to login. You can change the password after login.
32
+
2. In your browser, go to `localhost:32000`, which will be the login page of Grafana. Use `admin` as both username and password to login. You can change the password after login.
33
33
34
-
3. Navigate to `Home -> Administration -> Service accounts`, then click `Add service account` to create an service account. Be sure to choose `Admin` as the role. Then click `Add service account token`, hit `generate`, you are done! Remember this token, you will be using this token to access Grafana HTTP API programmatically.
34
+
3. Navigate to `Home -> Administration -> Service accounts`, then click `Add service account` to create a service account. Be sure to choose `Admin` as the role. Then click `Add service account token`, hit `generate`, you are done! Remember this token, you will be using this token to access Grafana HTTP API programmatically.
35
35
36
36
## Steps to Run Example
37
37
Peform the following steps in each of the _books_, _customers_, _frontend_, and _orders_ directories
@@ -55,7 +55,7 @@ CHRONOS_GRAFANA_API_KEY = Bearer [the access token you created in above section
55
55
56
56
- If you have the dependency as `"@chronosmicro/tracker": "file:./chronos_npm_package"`, which is a **local** file, make sure to change the version from `"file:./chronos_npm_package"` to `"^12.0.1"` and run npm install. **Unless you are wanting to test local copies of the "Chronos_npm_package" file**
57
57
58
-
3. With the terminal navigated to the the _examples/docker_ folder, run the command:
58
+
3. With the terminal navigated to the _examples/docker_ folder, run the command:
0 commit comments