Open xrmx opened 1 week ago
area:new
Would be nice to formalize semantic conventions for cli command execution regarding span name, status and attributes.
For the attributes we can reuse something from Process.
No response
I'm implementing an instrumentation for the click library:
# hello.py import click @click.command() def hello(): click.echo('Hello World!') if __name__ == '__main__': hello()
and you call them as python hello.py
python hello.py
This is also the underlying library used by flask where you can run the server itself, e.g. flask run or implement your own command, e.g. flask createuser myusername.
flask run
flask createuser myusername
Area(s)
area:new
Is your change request related to a problem? Please describe.
Would be nice to formalize semantic conventions for cli command execution regarding span name, status and attributes.
Describe the solution you'd like
For the attributes we can reuse something from Process.
Describe alternatives you've considered
No response
Additional context
I'm implementing an instrumentation for the click library:
and you call them as
python hello.py
This is also the underlying library used by flask where you can run the server itself, e.g.
flask run
or implement your own command, e.g.flask createuser myusername
.