Skip to content

Conversation

@Revolyssup
Copy link
Contributor

@Revolyssup Revolyssup commented Jan 23, 2025

Description

This PR replaces plugin attribute with plugin metadata in Opentelemetry plugin. Now the same configuration will have to be passed with plugin metadata and not attribute.

Fixes # (issue)

Checklist

  • I have explained the need for this PR and the problem it solves
  • I have explained the changes or the new features added to this PR
  • I have added tests corresponding to this change
  • I have updated the documentation to reflect this change
  • I have verified that this change is backward compatible (If not, please discuss on the APISIX mailing list first)

@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. plugin labels Jan 23, 2025
@Revolyssup Revolyssup marked this pull request as draft January 23, 2025 12:21
@Revolyssup Revolyssup marked this pull request as ready for review January 26, 2025 20:06
moonming
moonming previously approved these changes Jan 26, 2025
membphis
membphis previously approved these changes Jan 27, 2025
name = plugin_name,
schema = schema,
attr_schema = attr_schema,
metadata_schema = metadata_schema,
Copy link
Member

Choose a reason for hiding this comment

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

code style:

Suggested change
metadata_schema = metadata_schema,
metadata_schema = metadata_schema,

@Revolyssup Revolyssup dismissed stale reviews from membphis and moonming via 480b385 January 27, 2025 06:18
@dosubot dosubot bot added size:XL This PR changes 500-999 lines, ignoring generated files. and removed size:L This PR changes 100-499 lines, ignoring generated files. labels Jan 27, 2025
}'
```

Reload APISIX for changes to take effect.
Copy link
Contributor

Choose a reason for hiding this comment

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

do we really need reload now?

- zipkin # priority: 12011
#- skywalking # priority: 12010
#- opentelemetry # priority: 12009
- opentelemetry # priority: 12009
Copy link
Contributor

Choose a reason for hiding this comment

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

why do we need this change?

@Revolyssup Revolyssup merged commit 5a085bc into apache:master Jan 28, 2025
33 checks passed
@Revolyssup Revolyssup deleted the revolyssup/otel-metadata branch January 28, 2025 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

plugin size:XL This PR changes 500-999 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants