Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Punch UDS / prometheus directly #909

Merged
merged 8 commits into from
Jul 11, 2024
Merged

Conversation

blt
Copy link
Collaborator

@blt blt commented Jul 8, 2024

What does this PR do?

Demonstrated in https://github.com/scottopell/metrics/tree/sopell/uds-listener by @sopell it's entirely possible that upstream support for a UDS option is easier than I'd believed, looking at the TCP exporter.

Copy link
Collaborator Author

blt commented Jul 8, 2024

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @blt and the rest of your teammates on Graphite Graphite

@blt blt marked this pull request as ready for review July 8, 2024 18:52
@blt blt requested a review from a team as a code owner July 8, 2024 18:52
@blt blt force-pushed the blt/punch_uds___prometheus_directly branch 2 times, most recently from b91e384 to 6ca1dc0 Compare July 8, 2024 19:55
@blt blt mentioned this pull request Jul 9, 2024
@blt blt force-pushed the blt/punch_uds___prometheus_directly branch from 6cdd41e to 6b25c79 Compare July 9, 2024 02:14
@blt blt changed the base branch from blt/allow_for_effectively_infinite_experiment_duration to blt/update_metrics-rs_crate July 9, 2024 02:14
@blt blt force-pushed the blt/punch_uds___prometheus_directly branch from 6b25c79 to 842fbe1 Compare July 9, 2024 02:17
@blt blt force-pushed the blt/update_metrics-rs_crate branch from b76eaf3 to eb0fc35 Compare July 9, 2024 16:35
@blt blt force-pushed the blt/punch_uds___prometheus_directly branch from 842fbe1 to 02b03aa Compare July 9, 2024 16:36
@blt blt force-pushed the blt/update_metrics-rs_crate branch from eb0fc35 to 9e7ce5c Compare July 9, 2024 17:31
@blt blt force-pushed the blt/punch_uds___prometheus_directly branch from 02b03aa to 06003c4 Compare July 9, 2024 17:32
Base automatically changed from blt/update_metrics-rs_crate to main July 9, 2024 18:03
@blt blt force-pushed the blt/punch_uds___prometheus_directly branch 2 times, most recently from b79b650 to 60246e7 Compare July 9, 2024 18:53
@blt blt changed the base branch from main to blt/update_crates July 9, 2024 18:53
@blt blt mentioned this pull request Jul 9, 2024
Base automatically changed from blt/update_crates to main July 9, 2024 19:11
blt added 4 commits July 9, 2024 16:40
Demonstrated in https://github.com/scottopell/metrics/tree/sopell/uds-listener
by @sopell it's entirely possible that upstream support for a UDS option is easier
than I'd believed, looking at the TCP exporter.

Signed-off-by: Brian L. Troutwine <brian.troutwine@datadoghq.com>
Signed-off-by: Brian L. Troutwine <brian.troutwine@datadoghq.com>
Signed-off-by: Brian L. Troutwine <brian.troutwine@datadoghq.com>
Update tracks upstream changes, allows a run such like:

```
> cargo run --bin lading -- --target-path target/release/simple_target \
  --config-path examples/lading-idle.yaml --experiment-duration-infinite \
  --prometheus-path /tmp/lading.sock
```

`curl -vv --unix-socket /tmp/lading.sock http://localhost` returns a blank body,
content-length 0.

Signed-off-by: Brian L. Troutwine <brian.troutwine@datadoghq.com>
@blt blt force-pushed the blt/punch_uds___prometheus_directly branch from 60246e7 to 10611ac Compare July 9, 2024 23:40
scottopell and others added 2 commits July 10, 2024 17:37
Signed-off-by: Brian L. Troutwine <brian.troutwine@datadoghq.com>
@blt blt merged commit 9711239 into main Jul 11, 2024
12 checks passed
@blt blt deleted the blt/punch_uds___prometheus_directly branch July 11, 2024 20:54
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.

3 participants