elastic / elastic/apm

Cross-agent unit testing for Azure Instrumentations

Open
#519 0 comments 0 reactions 0 assignees View on GitHub
technical debt
Dominant language
Gherkin
Stars
427
Forks
125
PR merge metrics
No merged PRs in 30d

Description

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 https://github.com/elastic/apm-agent-python/pull/1316 for examples in Python)

@beniwohli [pointed out](https://github.com/elastic/apm-agent-python/pull/1316#pullrequestreview-768750495) that it would be useful to encode [the tables in the spec](https://github.com/elastic/apm/blob/master/specs/agents/tracing-instrumentation-azure.md) into JSON such that unit tests could be constructed to ensure consistency across agents.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.