Skip to content

httpcheck reciever - custom attributes in the reciever config #42525

@mabac16

Description

@mabac16

Component(s)

receiver/httpcheck

Is your feature request related to a problem? Please describe.

hi, there is a need to also via this receiver be able to set a custom attribute in the reciever and not just processor.
Example

httpcheck/test:
    metrics:
      httpcheck.tls.cert_remaining:
        enabled: true
    targets:
      - method: GET
        endpoints:
          - "xxxx"
        attributes:
          customkey: customvalue

thanks for looking at this.

Describe the solution you'd like

be able to set a custom attribute in the receiver and not just a processor like:

        attributes:
          customkey: customvalue

Describe alternatives you've considered

using processors but do to implementation this will create more and unwanted complexity.

Additional context

No response

Tip

React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding +1 or me too, to help us triage it. Learn more here.

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