1OPENTELEMETRY-INSTRUMENT(1)      User Commands     OPENTELEMETRY-INSTRUMENT(1)
2
3
4

NAME

6       opentelemetry-instrument  –  automatically  instrument and run a Python
7       program
8

SYNOPSIS

10       opentelemetry-instrument  [-h]  [--version]   [--logs_exporter LOGS_EX‐
11       PORTER]  [--metrics_exporter METRICS_EXPORTER]  [--propagators PROPAGA‐
12       TORS]   [--context CONTEXT]    [--id_generateor ID_GENERATOR]    [--me‐
13       ter_provider METER_PROVIDER]        [--tracer_provider TRACER_PROVIDER]
14       [--traces_exporter TRACES_EXPORTER]   [--disabled_instrumentations DIS‐
15       ABLED_INSTRUMENTATIONS] [--version] command ...
16

DESCRIPTION

18       opentelemetry-instrument(1)  automatically instruments a Python program
19       and its dependencies and then runs the program.
20

OPTIONS

22   POSITIONAL ARGUMENTS
23       command
24              Your Python application.
25
26       command_args
27              Arguments for your application.
28
29   OPTIONAL ARGUMENTS
30       -h, --help
31              Show a help message and exit.
32
33       --logs_exporter LOGS_EXPORTER
34
35       --metrics_exporter METRICS_EXPORTER
36
37       --propagators PROPAGATORS
38
39       --context CONTEXT
40
41       --id_generator ID_GENERATOR
42
43       --meter_provider METER_PROVIDER
44
45       --tracer_provider TRACER_PROVIDER
46
47       --traces_exporter TRACES_EXPORTER
48
49       --disabled_instrumentations DISABLED_INSTRUMENTATIONS
50
51       --version
52              Print version information.
53

ENVIRONMENT

55       Optional arguments (except for --help and  --version)  for  openteleme‐
56       try-instrument(1)  directly  correspond  with OpenTelemetry environment
57       variables.  The corresponding optional argument is formed  by  removing
58       the  OTEL_  or  OTEL_PYTHON_  prefix  from the environment variable and
59       lower casing the rest.  For example,  the  optional  argument  --attri‐
60       bute_value_length_limit   corresponds  with  the  environment  variable
61       OTEL_ATTRIBUTE_VALUE_LENGTH_LIMIT.  These optional arguments will over‐
62       ride the current value of the corresponding environment variable during
63       the execution of the command.
64

SEE ALSO

66       opentelemetry-bootstrap(1)
67
68
69
70                                 December 2022     OPENTELEMETRY-INSTRUMENT(1)
Impressum