OpenTelemetry Bot d680729c09 [chore] Prepare release 0.90.0 (#29543) пре 1 година
..
internal f4c44858b5 [all][chore] Moved from interface{} to any for all go code (#29072) пре 1 година
testdata cd91fb4789 [chore][golden] Normal timestamps in golden metric files (#23002) пре 1 година
Makefile 34a1e331fa [receiver/rabbitmq] Create component (#7239) пре 2 година
README.md 562dc48d10 Link component issue badges to the respective issue page (#24642) пре 1 година
client.go f4c44858b5 [all][chore] Moved from interface{} to any for all go code (#29072) пре 1 година
client_test.go 074570f87d [receiver/rabbitmq] Change the type of `Config.Password` to be `configopaque.String` (#23895) пре 1 година
config.go 074570f87d [receiver/rabbitmq] Change the type of `Config.Password` to be `configopaque.String` (#23895) пре 1 година
config_test.go 9161ab2e93 [chore] more linting fixes (#22979) пре 1 година
doc.go 5133f4ccd6 [chore] use license shortform (#22052) пре 1 година
documentation.md 50f1c85e7f [chore] use metadata.Type with rabbitmqreceiver (#21987) пре 1 година
factory.go b20a252770 [all] Remove more unused params (#22971) пре 1 година
factory_test.go 4a0ea8e961 [chore] Improving life cycle tests reporting (#23145) пре 1 година
go.mod d680729c09 [chore] Prepare release 0.90.0 (#29543) пре 1 година
go.sum 40b485f08a Update core for v0.90.0 release (#29539) пре 1 година
metadata.yaml 326d0261f9 [cmd/mdatagen] Rename aggregation to aggregation_temporality for sum metrics (#24808) пре 1 година
scraper.go f4c44858b5 [all][chore] Moved from interface{} to any for all go code (#29072) пре 1 година
scraper_test.go cd92432fd2 [pkg/golden] internal/coreinternal/golden -> pkg/golden (#28636) пре 1 година

README.md

RabbitMQ Receiver

Status
Stability beta: metrics
Distributions contrib, observiq, sumo
Issues Open issues Closed issues
Code Owners @djaglowski, @cpheps

This receiver fetches stats from a RabbitMQ node using the RabbitMQ Management Plugin.

:construction: This receiver is in BETA. Configuration fields and metric data model are subject to change.

Prerequisites

This receiver supports RabbitMQ versions 3.8 and 3.9.

The RabbitMQ Management Plugin must be enabled by following the official instructions.

Also, a user with at least monitoring level permissions must be used for monitoring.

Configuration

The following settings are required:

  • username
  • password

The following settings are optional:

  • endpoint (default: http://localhost:15672): The URL of the node to be monitored.
  • collection_interval (default = 10s): This receiver collects metrics on an interval. Valid time units are ns, us (or µs), ms, s, m, h.
  • tls (defaults defined here): TLS control. By default insecure settings are rejected and certificate verification is on.

Example Configuration

receivers:
  rabbitmq:
    endpoint: http://localhost:15672
    username: otelu
    password: ${env:RABBITMQ_PASSWORD}
    collection_interval: 10s

The full list of settings exposed for this receiver are documented here with detailed sample configurations here. TLS config is documented further under the opentelemetry collector's configtls package.

Metrics

Details about the metrics produced by this receiver can be found in metadata.yaml