Skip to content
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

Merged
merged 2 commits into from
Nov 19, 2024
Merged

Add init_otel() function #545

merged 2 commits into from
Nov 19, 2024

Conversation

pmcollins
Copy link
Contributor

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).

@pmcollins pmcollins marked this pull request as ready for review November 19, 2024 18:49


def init_otel():
Copy link
Contributor Author

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.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

init_splunk_otel?

Copy link
Contributor Author

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.



def init_otel():
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

init_splunk_otel?

@pmcollins pmcollins merged commit 02b2009 into v2 Nov 19, 2024
16 checks passed
@pmcollins pmcollins deleted the v2-init branch November 19, 2024 20:32
| `start_otel()` | Configures tracing, metrics, and logs | None |
| Function name | Operation | Arguments |
|---------------|----------------------------------------|-----------|
| `init_otel()` | Initializes tracing, metrics, and logs | None |
Copy link
Contributor

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?

Copy link
Contributor Author

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.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Addressed here: #547

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants