Metricbeat-rabbitmq problem

Excuse me.

How can I get the "Client-provided name" using Metricbeat ?

Regards

@Chris_Shim What version of rabbitmq are you running? By looking at the code for rabbitmq metricbeat module, I don't see code that collects Client-provided name. I will double check :slight_smile:

@Kaiyan_Sheng

Versions

RabbitMQ 3.7.15
Erlang 22.0
RabbitMQ.Client 5.1.0
Elastic Stack 7.2.0

How to install RabbitMQ Management

Client Sample Code

Result using Sample Code

static void Main(string[] args)
{
    var factory = new ConnectionFactory() { HostName = "localhost" };

    using (var connection = factory.CreateConnection("ThisIsMyName"))
    {
        Console.WriteLine(" Press [enter] to exit.");
        Console.ReadLine();
    }
}



Best Regards

Thank you so much for all the detailed information. I was able to create a new connection with a client-provided name. Turned out we don't support collecting this field right now so I created a github issue for adding this feature: https://github.com/elastic/beats/issues/12851

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.