Skip to content

New component: httpclientreceiver #37622

Open
@verejoel

Description

@verejoel

The purpose and use-cases of the new component

This would pretty much do the same thing as Vector's HTTP Client source.

For us an immediate use-case would be scraping Alertmanager API and emitting these data as logs on some regular interval.

Example configuration for the component

httpclient:
  endpoint: http://example.com
  method: GET
  headers:
    Content-Type: application/json
  interval: 1m
  decoder: json

Telemetry data types supported

Data would be emitted as logs, I don't really see a way metrics or traces could be supported.

Code Owner(s)

@verejoel

Sponsor (optional)

@atoulme

Additional context

We're trying to implement the pipeline detailed in https://blog.cloudflare.com/alerts-observability/ with OTel instead of Vector.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions