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

[CIVIS-8333] get rid of span_type in tracer-related models #107

Merged
merged 1 commit into from
Jan 17, 2024

Conversation

anmarchenko
Copy link
Member

What does this PR do?
dd-trace-rb recently dropped span_type method for SpanOperation. In order to avoid confusion, I do the same in Datadog::CI context.

For serializers span_type method stays to distinguish it from event type (that can have slightly different meaning). To reduce confusion for future self and other contributors, Serializers::Base#type is renamed to Serializers::Base#event_type

Motivation
Reducing confusion and surprise level of our API

Rename type to event_type in citestcycle serializers.
@anmarchenko anmarchenko requested review from a team as code owners January 17, 2024 12:28
Base automatically changed from anmarchenko/manual_api_cleaning_up to main January 17, 2024 12:56
@anmarchenko anmarchenko merged commit d8274b0 into main Jan 17, 2024
24 checks passed
@anmarchenko anmarchenko deleted the anmarchenko/span_type_to_type branch January 17, 2024 12:56
@github-actions github-actions bot added this to the 0.7.0 milestone Jan 17, 2024
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