Skip to content

chore(tests): drop influxdb from prometheus integration tests - #26069

Draft
thomasqueirozb wants to merge 2 commits into
masterfrom
tests/drop-influxdb-in-prometheus-it
Draft

chore(tests): drop influxdb from prometheus integration tests#26069
thomasqueirozb wants to merge 2 commits into
masterfrom
tests/drop-influxdb-in-prometheus-it

Conversation

@thomasqueirozb

Copy link
Copy Markdown
Member

Summary

Remove InfluxDB from the prometheus integration tests. The prometheus_remote_write sink integration tests now use Vector's own prometheus_remote_write source as the remote write receiver instead of InfluxDB v1.

Vector configuration

NA

How did you test this PR?

Ran cargo vdev integration run prometheus - all 29 prometheus remote_write integration tests pass with only the Prometheus container (no InfluxDB). Verified the influxdb sink still compiles with sinks-influxdb, and clippy/fmt checks pass.

Is this a breaking change?

  • Yes
  • No

Does this PR include user facing changes?

  • Yes. Please add a changelog fragment based on our guidelines.
  • No. A maintainer will apply the no-changelog label to this PR.

References

@thomasqueirozb thomasqueirozb added the no-changelog Changes in this PR do not need user-facing explanations in the release changelog label Aug 7, 2026
@github-actions github-actions Bot added the domain: sinks Anything related to the Vector's sinks label Aug 7, 2026
@thomasqueirozb

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: d18da95ff0

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment on lines +87 to +90
let source: PrometheusRemoteWriteConfig = serde_yaml::from_str(&format!(
"address: \"{address}\"\n{}",
tls_yaml.unwrap_or_default()
))

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Keep remote-write integration on an external receiver

This replaces the external InfluxDB remote-write receiver with Vector's own prometheus_remote_write source, so the sink integration test is now self-referential: a shared encoder/parser regression can round-trip here while still being rejected by real remote-write services. The mock server above only counts requests, so it also does not preserve the external protocol compatibility check that this integration test used to provide.

AGENTS.md reference: AGENTS.md:L216-L218

Useful? React with 👍 / 👎.

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

Labels

domain: sinks Anything related to the Vector's sinks no-changelog Changes in this PR do not need user-facing explanations in the release changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove influxdb from the prometheus integration tests

1 participant