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

[cmd/opampsupervisor]: Allow configuring agent description #32819

Merged

Conversation

BinaryFissionGames
Copy link
Contributor

@BinaryFissionGames BinaryFissionGames commented May 2, 2024

Description:

  • Add options to the configuration that allows configuring the agent description

Link to tracking Issue: Closes #32824

Testing: e2e test, unit tests for validation

Documentation:

  • Updated spec with configuration parameters


require.Equal(t, expectedDescription, ad.AgentDescription)

time.Sleep(250 * time.Millisecond)
Copy link
Contributor Author

@BinaryFissionGames BinaryFissionGames May 2, 2024

Choose a reason for hiding this comment

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

Without this sleep, the supervisor gets stuck shutting down.

This is the same race I had to address in #32618 in order to get tests to run properly for that PR. This can be removed once the fix from that PR is merged.

@BinaryFissionGames BinaryFissionGames marked this pull request as ready for review May 2, 2024 15:26
@BinaryFissionGames BinaryFissionGames requested a review from a team May 2, 2024 15:26
@BinaryFissionGames
Copy link
Contributor Author

@tigrannajaryan Are you able to give this a review?

Copy link
Member

@tigrannajaryan tigrannajaryan left a comment

Choose a reason for hiding this comment

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

LGTM.

cmd/opampsupervisor/specification/README.md Outdated Show resolved Hide resolved
Co-authored-by: Tigran Najaryan <4194920+tigrannajaryan@users.noreply.github.com>
@andrzej-stencel andrzej-stencel merged commit 4d5fbfb into open-telemetry:main May 15, 2024
162 checks passed
@github-actions github-actions bot added this to the next release milestone May 15, 2024
evan-bradley pushed a commit that referenced this pull request May 16, 2024
… failure (#33095)

**Description:** <Describe what has changed.>
fixes test failure observed in #33093 (due to merge of #32819 and
#32618)

**Link to tracking Issue:** Closes #33093

**Testing:** run supervisor e2e tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[cmd/opampsupervisor]: Allow configuring the agent description
5 participants