Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.
This repository was archived by the owner on Oct 12, 2022. It is now read-only.

Add logging to the TrackRequest middleware #56

@mattrayner

Description

@mattrayner

The Problem

When debugging a Ruby application by reviewing logs after the fact, it would be useful to know the ApplicationInsights Request-Id for further investigation.

Proposed Solution

It would be good to add logging both before a request is executed, and after a request is completed - noting the Request-Id value as mentioned in the examples here:

https://github.com/dotnet/corefx/blob/master/src/System.Diagnostics.DiagnosticSource/src/HierarchicalRequestId.md#example

This would allow a user to know from application logs, what the ApplicationInsights ID is for a potentially problematic request

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions