Skip to content

FR: field extractor of attempt count in the access log #18870

Closed

Description

@lambdai

The attempt account is located in the stream info. Both HCM and tcp_proxy maintain the value.

This is helpful to triage the slow request due to the retry.

https://github.com/envoyproxy/envoy/blob/main/envoy/stream_info/stream_info.h#L627

Activity

  1. added
    enhancement
    triage
    on Nov 2, 2021
  2. cpakulski commented on Nov 3, 2021

    @cpakulski
    Contributor

    There are several retry algorithms/policies, so it would be nice to see which hosts/clusters were attempted.

  3. lambdai commented on Nov 3, 2021

    @lambdai
    ContributorAuthor

    It's always good to have more but I intend to keep the topic small.

    In terms of the retried detail, when we want to dump list value, we always want to limit the number of elements and of course we need to track them first

  4. added
    help wanted
    and removed
    enhancement
    triage
    on Nov 3, 2021
  5. ggreenway commented on Dec 1, 2021

    @ggreenway
    Member

    There are several retry algorithms/policies, so it would be nice to see which hosts/clusters were attempted.

    You can configure an access log line for each upstream attempt; that will tell you everything about which cluster, which host in that cluster, why it failed, etc.

  6. added a commit that references this issue on Dec 1, 2021
    ef1faea
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions