Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/open-telemetry/opentelemetry-collector-contrib/extension/httpforwarder

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/open-telemetry/opentelemetry-collector-contrib/extension/httpforwarder

  • v0.95.0
  • Source
  • Go
  • Socket score

Version published
Created
Source

HTTP Forwarder Extension

This extension is deprecated. Please use httpforwarderextension instead.

Status
Stabilitydeprecated
Distributionscontrib, splunk, sumo
IssuesOpen issues Closed issues
Code Owners@atoulme, @rmfitzpatrick

This extension accepts HTTP requests, optionally adds headers to them and forwards them. The RequestURIs of the original requests are preserved by the extension.

Configuration

The following settings are required:

  • egress: HTTP config settings to use for forwarding requests.
    • endpoint (no default): The target to which requests should be forwarded to.

The following settings can be optionally configured:

  • ingress: HTTP config settings for HTTP server listening to requests.
    • endpoint (default = 0.0.0.0:6060): The host to which requests should be forwarded to.
  • egress: HTTP config settings to use for forwarding requests.
    • headers (default = nil): Additional headers to be added to all requests passing through the extension.
    • timeout (default = 10s): How long to wait for each request to complete.

Example

  http_forwarder:
    ingress:
      endpoint: localhost:7070
    egress:
      endpoint: http://target/
      headers:
        otel_http_forwarder: dev
      timeout: 5s

The full list of settings exposed for this exporter are documented here with detailed sample configurations here.

FAQs

Package last updated on 21 Feb 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc