Last active
March 31, 2025 03:13
-
-
Save perebaj/ebb12266f69f144784244d6978c191ef to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# How to run the prometheusremotewritereceiver in your local environment |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
First part: Run the Prometheus server locally
make build
myconfig.yaml
file and paste the following config ⬇️./prometheus --config.file=myconfig.yaml
Second part: run the open telemetry collector locally
./ocb --config=build-config.yaml
(obs: make sure that the binary that you downloaded in the first step is avaible in the same folder where you are running this command)./otelcol-dev/otelcol-dev --config=config.yaml
Obs: Each time that you change something in the receiver, you must re-run the step 4 and 5 🙃