Distributed Tracing :: Apache Solr Reference Guidesolr.apache.orgJan Høydahl16. jan. 2023 kl. 09:28 skrev DAVID MARTIN NIETO :Where is that?enabling tracing, (header trace-parent)Thanks.De: Jan Høydahl Enviado: viernes, 13 de enero de 2023 16:42Para: users@solr.apac
Where is that?
enabling tracing, (header trace-parent)
Thanks.
De: Jan Høydahl
Enviado: viernes, 13 de enero de 2023 16:42
Para: users@solr.apache.org
Asunto: Re: Logging correlation id
Have you considered enabling tracing, (header trace-parent) and get that
Have you considered enabling tracing, (header trace-parent) and get that Id
added to the logs?
Jan Høydahl
> 13. jan. 2023 kl. 02:42 skrev Shawn Heisey :
>
> On 1/12/23 12:19, Srijan wrote:
>> I am looking to log additional info to my Solr log. Specifically, I am
>> looking to log a "correlati
On 1/12/23 12:19, Srijan wrote:
I am looking to log additional info to my Solr log. Specifically, I am
looking to log a "correlation-id" provided by my client as part of the HTTP
header field "x-correlation-id" and put that in my log to relate various
client sessions and their actions with Solr.
One way to achieve this without code changes in Solr is to provide the
"rid" parameter, you'd have to make your client add the "rid" parameter in
requests explicitly instead of (or in addition to) the x-correlation-id
header. The "rid" is logged in the different phases of the request, even in
the c
Hello,
You can extend SearchHandler and implement handleRequestBody(). There is
a SolrQueryResponse object that you can use to add HTTP headers, or add
fields to the log.
Regards,
Markus
Op do 12 jan. 2023 om 19:32 schreef DAVID MARTIN NIETO <
dmart...@viewnext.com>:
> Hi
>
> I have a similar p
Hi
I have a similar problem and finally we put a apache server previously to the
solr to log fields like you comment. We dont find any way to log on solr or to
modify the internal jetty server to it.
Kind regards and good luck
David Martín
De: Srijan
Enviado: