[RADIATOR] Performance logging
Hartmaier Alexander
alexander.hartmaier at t-systems.at
Thu Mar 24 06:18:15 CDT 2016
Hi,
that's neat!
If you already calculate the response time can you please also expose it
via a special placeholder character?
I'd add this value to the AuthLog which goes via RabbitMQ to
Elasticsearch and can then be graphed in Kibana.
We only struggle with Radiators' logging in one place: the global
logfile contains log messages from e.g. Hooks which are hard to
impossible to link to a specific request.
I'm in the process of getting more Radiator logs into Elasticsearch and
I'll look into if the Handler Identifier can be logged there as well.
Thanks, Alex
On 2016-03-24 08:27, Heikki Vatiainen wrote:
> On 24.3.2016 0.28, Hugh Irvine wrote:
>
>> Otherwise you can add your own custom time attributes in the current
>> request packet and post-process the logs to derive the deltas.
> Maybe this recent addition to 4.16 patches would be helpful too?
>
> Added a new global configuration parameter:
>
> ResponseTimeThreshold 10
>
> The value is a millisecond threshold for Radiator's response time. If
> the respose time is exceeded, a warning will be loggged.
>
> Here's an example of what it logs:
>
> Tue Mar 15 16:47:41 2016 577739: WARNING: Response time 16.804 ms for
> Access-Request id 236 exceeded 3 ms. (User: 'mikem', Client: 'DEFAULT'
> (default-client), Handler: '' (handler-identifier), Last AuthBy: 'FILE'
> (authby-identifier))
>
> Currently this is a global setting that's not turned on by default.
>
> Alex, you mentioned about logging each request with the processing time.
> Which logfile this should go into?
>
> There's work underway to log just the messages Radiator sends and
> receives. This is separate from the current logging and is more like
> what AuthLog does. What AuthLog logs are the successful and failed
> authentications. The message log will log all messages. The log format
> is configurable. At least text (similar to like trace 5 packet dump),
> pcapng and JSON will be supported.
>
> Thanks,
> Heikki
>
*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*
T-Systems Austria GesmbH Rennweg 97-99, 1030 Wien
Handelsgericht Wien, FN 79340b
*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*
Notice: This e-mail contains information that is confidential and may be privileged.
If you are not the intended recipient, please notify the sender and then
delete this e-mail immediately.
*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*
More information about the radiator
mailing list