Skip to content

Allow shipping metrics from Prometheus federation endpoint#59

Open
jsierles wants to merge 1 commit into
mainfrom
metrics
Open

Allow shipping metrics from Prometheus federation endpoint#59
jsierles wants to merge 1 commit into
mainfrom
metrics

Conversation

@jsierles

Copy link
Copy Markdown
Contributor

No description provided.

@moritz-br

Copy link
Copy Markdown

Thanks for this! Just what I needed

@moritz-br

Copy link
Copy Markdown

Example sink (New Relic) for future reference / other people stumbling upon this -

[sinks.new_relic_metrics]
  # General
  type = "new_relic"
  inputs = ["org_metrics"] 
  compression = "gzip"
  region = "${NEW_RELIC_REGION}"
  account_id = "${NEW_RELIC_ACCOUNT_ID}"
  api = "metrics" 
  # Key: ${NEW_RELIC_LICENSE_KEY-$NEW_RELIC_INSERT_KEY}
  ${NEW_RELIC_LICENSE_KEY+license_key = \"$NEW_RELIC_LICENSE_KEY\"}
  ${NEW_RELIC_INSERT_KEY+insert_key = \"$NEW_RELIC_INSERT_KEY\"}

@matthiaskern

matthiaskern commented Aug 1, 2025

Copy link
Copy Markdown

Getting a 401 from the prometheus endpoint, anyone else ran into this?

source{component_kind="source" component_id=better_stack_org_metrics component_type=prometheus_scrape component_name=better_stack_org_metrics}: vector::internal_events::http_client_source: HTTP error response. url=https://api.fly.io/prometheus/personal/federate stage="receiving" error_type="request_failed" error_code=http_response_401 internal_log_rate_limit=true

nats auth works

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants