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
RabbitMQ 3.7.15
Erlang 22.0
RabbitMQ.Client 5.1.0
Elastic Stack 7.2.0
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.
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.