Description
Component(s)
cmd/telemetrygen
Is your feature request related to a problem? Please describe.
The telemetrygen tool currently requires all telemetry attribute values to be strings wrapped in double quotes. This limitation makes it difficult to generate traces with integer attributes, which are often needed for realistic testing and development scenarios.
Describe the solution you'd like
Introduce support for integer attributes in the telemetrygen tool. The basic idea is to extend the existing attribute handling to recognize and correctly process integer values. The same --telemetry-attributes flag should be supported for backwards compatibility, but now values that are not quoted and are valid integers should be treated as integer attributes.
Describe alternatives you've considered
An alternative approach could be to introduce different flags for attributes of differing types, such as --telemetry-attributes-int for integer attributes.
Additional context
realistic spans:
server.port 8000
http.response.status_code 404
telemetrygen simulated spans:
server.port "8000"
http.response.status_code "404"