Skip to content

Commit c30bf3d

Browse files
authored
Update monitoring.md
1 parent a25506e commit c30bf3d

File tree

1 file changed

+16
-27
lines changed

1 file changed

+16
-27
lines changed

docs/monitoring.md

+16-27
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ Enqueue is an MIT-licensed open source project with its ongoing development made
99

1010
# Monitoring.
1111

12-
Enqueue provides a tool for monitoring your queues.
13-
With it, you can control how many messages were sent, how many processed successful or failed.
12+
Enqueue provides a tool for monitoring message queues.
13+
With it, you can control how many messages were sent, how many processed successfuly or failed.
1414
How many consumers are working, their up time, processed messages stats, memory usage and system load.
1515
The tool could be integrated with virtually any analytics and monitoring platform.
1616
There are several integration:
@@ -21,6 +21,8 @@ We are working on a JS\WAMP based real-time UI tool, for more information please
2121

2222
![Grafana Monitoring](images/grafana_monitoring.jpg)
2323

24+
[contact us]([email protected]) if need a Grafana template such as on the picture.
25+
2426
* [Installation](#installation)
2527
* [Track sent messages](#track-sent-messages)
2628
* [Track consumed message](#track-consumed-message)
@@ -267,30 +269,17 @@ There are available options:
267269
You have to register some services in order to incorporate monitoring facilities into your Symfony application.
268270

269271
```yaml
270-
services:
271-
Enqueue\Monitoring\GenericStatsStorageFactory: ~
272-
273-
Enqueue\Monitoring\StatsStorage:
274-
factory: ['@Enqueue\Monitoring\GenericStatsStorageFactory', 'create']
275-
arguments: ['influxdb://127.0.0.1:8086?db=foo']
276-
277-
Enqueue\Monitoring\ConsumerMonitoringExtension:
278-
arguments:
279-
- '@Enqueue\Monitoring\StatsStorage'
280-
tags:
281-
# if you want to monitor transport consumer
282-
- { name: 'enqueue.transport.consumption_extension', transport: 'default' }
283-
284-
# if you want to monitor client consumer
285-
- { name: 'enqueue.consumption_extension', client: 'default' }
286-
287-
# if you want to monitor sent messages
288-
Enqueue\Monitoring\ClientMonitoringExtension:
289-
arguments:
290-
- '@Enqueue\Monitoring\StatsStorage'
291-
- '@logger'
292-
tags:
293-
- { name: 'enqueue.client_extension', client: 'default' }
272+
# config/packages/enqueue.yaml
273+
274+
enqueue:
275+
default:
276+
transport: 'amqp://guest:guest@bar:5672/%2f'
277+
monitoring: 'influxdb://127.0.0.1:8086?db=foo'
278+
279+
another:
280+
transport: 'amqp://guest:guest@foo:5672/%2f'
281+
monitoring: 'wamp://127.0.0.1:9090?topic=stats'
282+
client: ~
294283
```
295284
296-
[back to index](index.md)
285+
[back to index](index.md)

0 commit comments

Comments
 (0)