forked from vectordotdev/vector
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(prometheus_remote_write source, prometheus_scrape source): Spli…
…t compilation features (vectordotdev#18431) Split features into prometheus-scrape, prometheus-remote-write
- Loading branch information
Showing
3 changed files
with
12 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,10 @@ | ||
pub(crate) mod parser; | ||
#[cfg(feature = "sources-prometheus-remote-write")] | ||
mod remote_write; | ||
#[cfg(feature = "sources-prometheus-scrape")] | ||
mod scrape; | ||
|
||
#[cfg(feature = "sources-prometheus-remote-write")] | ||
pub use remote_write::PrometheusRemoteWriteConfig; | ||
#[cfg(feature = "sources-prometheus-scrape")] | ||
pub use scrape::PrometheusScrapeConfig; |