Skip to content

Add retries metrics when used with openwhisk #85

@tmathern

Description

@tmathern

To track retries in http metrics:

  • node-fetch-retry sets a special request header (name to be clarified) with the current retry count
  • node-fetch-retry sets a special request header (name to be clarified) if it's the last retry (can we know this when we make the requests?)
  • openwhisk-newrelic takes any "x-http-metrics-: " header and adds it as = attribute to the http metrics, then removes the header so that it does not actually get sent with the request
  • not everybody using node-fetch-retry uses openwhisk-newrelic, so is it ok to send those headers in this case?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions