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

Cross-agent unit testing for Azure Instrumentations #519

Open
basepi opened this issue Oct 1, 2021 · 0 comments
Open

Cross-agent unit testing for Azure Instrumentations #519

basepi opened this issue Oct 1, 2021 · 0 comments

Comments

@basepi
Copy link
Contributor

basepi commented Oct 1, 2021

The Azure Instrumentations are all built around a REST API. In practice, this means there are generally large if-statement blocks that set the operation name and resource based on various pieces of the REST request. (See elastic/apm-agent-python#1316 for examples in Python)

@beniwohli pointed out that it would be useful to encode the tables in the spec into JSON such that unit tests could be constructed to ensure consistency across agents.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant