-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add init_otel() function #545
Conversation
src/splunk_otel/__init__.py
Outdated
|
||
|
||
def init_otel(): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Open to suggestions on this name.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
init_splunk_otel
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah that's more specific and probably better. Done.
src/splunk_otel/__init__.py
Outdated
|
||
|
||
def init_otel(): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
init_splunk_otel
?
| `start_otel()` | Configures tracing, metrics, and logs | None | | ||
| Function name | Operation | Arguments | | ||
|---------------|----------------------------------------|-----------| | ||
| `init_otel()` | Initializes tracing, metrics, and logs | None | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was this missed in the rename?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, good catch! Will fix.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Addressed here: #547
This is like the
start_tracing
function in v1 but uses upstream's logic to initialize/configure components. Like before, does not load instrumentors (except for the system metric instrumentor which we're bundling).