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

Start target metrics server on target startup #1097

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

cmetz100
Copy link
Contributor

@cmetz100 cmetz100 commented Nov 6, 2024

What does this PR do?

Changes the target metrics server to wait on target running signal rather than experiment started signal.

Motivation

Currently we start the capture manager on target startup which means we are technically able to start both the observer and target metrics server on startup as well. We currently do this for the observer which gives us insight as to the targets startup behavior from the perspective of lading metrics (currently useful for debugging mainly). However it may be useful to also gain some insight as to the targets internal view of its behavior before we start the experiment (during warmup period).

Note: I expect the first few polls to fail as the prometheus end points may not be exposed as soon as we signal agent as running

Related issues

Additional Notes

I am not 100% confident we actually want this in main, open to peoples thoughts.

For context I want this for investigating the agents startup behavior in dogstatsd experiments. Planning on using this version of lading in some test jobs. This pairs with my pr in smp to reallow the exporting of warmup metrics.

…than experiment started signal.

Signed-off-by: Caleb Metz <[email protected]>
@cmetz100 cmetz100 force-pushed the cmetz/target_metrics_start_on_target_startup branch from 3652511 to 4afad48 Compare November 6, 2024 21:15
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.

1 participant