* Have consistent formatting for semantic convention enums
Currently, semantic convention enum values are not consistent.
For example, os.type values are all capitals whereas
cloud.infrastructure_service values are underscored lowercase.
This change improves the inconsistencies.
We also expect language implementations to autogenerate code
from enum values. Each language has their own conventions for
constant variable identifiers and we expect the consistent
formatting is going to help the language implementors.
Fixes#1519.
* Add metric for currently-in-flight HTTP requests
* Update name to active_requests
* Fix missing rename noticed by anuraaga
* Clarify `active_requests` are in-flight
Co-authored-by: Reiley Yang <reyang@microsoft.com>
* Switch to UpDownSumObserver
Co-authored-by: Reiley Yang <reyang@microsoft.com>
Co-authored-by: Joshua MacDonald <jmacd@users.noreply.github.com>
* add http metric label spec
* typo
* update attribute locations and clarify which to inlcude, alter and exclude
* add metric instruments list
* simplify intro sections, add requirement columns, clarify labels, fix normative directives and more
* fix HTTP strings
* add count metric instrument and shorten duration metric name
* remove dependency on http.md, add more notes and examples and general cleanup
* replace span.kind with type
* add missing labels and cleanup links
* substitution->alternatives and remove section not needed
* make request count metric instrument plural
* formatting
* clarify type column
* update intro and fix units
* breakout metric instrument table
* remove http.route since it is the same as http.target after http.target is simplified
* update net labels to link to definition
* add lowercase requirement to http.scheme
* formatting
Co-authored-by: gfuller <gfuller@newrelic.com>
Co-authored-by: Bogdan Drutu <bogdandrutu@gmail.com>