Skip to content

Restructure influxdb3 /plugins for step-by-step clarity #5963

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

Open
wants to merge 63 commits into
base: master
Choose a base branch
from

Conversation

MeelahMe
Copy link
Contributor

@MeelahMe MeelahMe commented Apr 4, 2025

**Objective:

To revise the /plugins section to be more structured and step-by-step than it is now. The goal is to make it easier for users to understand how plugins work, how to configure them, and how to build or extend them—especially for those who are new to InfluxDB 3 or plugin-based architectures.

What the feature does and why it’s useful

  • Transforms the current /plugins documentation into a more linear, guided experience
  • Helps users understand the purpose, setup, and customization of plugins
  • Reduces confusion and improves onboarding by clearly walking through key workflows
  • How to use it

Once updated, users should be able to:

  • Understand what plugins are and how they fit into the system
  • Follow clear, step-by-step instructions to enable, configure, and test plugins
  • Extend or write their own plugins, if applicable

part of #5857
closes #5951

@MeelahMe MeelahMe linked an issue Apr 4, 2025 that may be closed by this pull request
@MeelahMe MeelahMe self-assigned this Apr 4, 2025
@MeelahMe MeelahMe changed the title Restructure influxdb3 /plugins for step-by-step clarit WIP: Restructure influxdb3 /plugins for step-by-step clarit Apr 4, 2025
@MeelahMe MeelahMe changed the title WIP: Restructure influxdb3 /plugins for step-by-step clarit WIP: Restructure influxdb3 /plugins for step-by-step clarity Apr 4, 2025
@MeelahMe MeelahMe requested a review from Copilot April 14, 2025 21:05
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

Comments suppressed due to low confidence (2)

content/shared/v3-core-plugins/extended-plugin-api.md:189

  • [nitpick] The placeholder 'METHOD' and 'PARAMETERS' may confuse users. Consider either replacing these with concrete examples or adding a clarifying comment that indicates these are placeholders.
influxdb3_local.cache.METHOD(PARAMETERS)

content/shared/v3-core-plugins/extended-plugin-api.md:95

  • [nitpick] Ensure that converting a float with no decimal component to an integer and appending '.0' meets the intended behavior and formatting requirements. Verify this behavior remains consistent with all usage scenarios.
self.fields[key] = f"{int(value)}.0" if value % 1 == 0 else str(value)

@MeelahMe MeelahMe changed the title WIP: Restructure influxdb3 /plugins for step-by-step clarity Restructure influxdb3 /plugins for step-by-step clarity Apr 15, 2025
@MeelahMe MeelahMe force-pushed the 5951-restructure-influxdb3-plugins branch from 4784f00 to 6c565a9 Compare April 25, 2025 00:57
…xdata/docs-v2 into 5951-restructure-influxdb3-plugins
@MeelahMe MeelahMe requested a review from Copilot April 25, 2025 01:10
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR restructures the /plugins documentation to provide a clearer, step-by-step guide on how to use and extend InfluxDB 3 plugins. Key changes include:

  • Addition of a comprehensive, example-driven extended plugin API documentation file.
  • Refinement of the menu naming in enterprise plugin documentation for consistency.
  • Creation of two new extended plugin reference pages (enterprise and core) linking to the shared extended plugin API source.

Reviewed Changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.

File Description
content/shared/v3-core-plugins/extended-plugin-api.md New detailed documentation with code examples and best practices for plugin API usage.
content/influxdb3/enterprise/plugins.md Updated menu item naming for improved consistency.
content/influxdb3/enterprise/extended-plugin.md New enterprise page referencing the shared extended plugin API documentation.
content/influxdb3/core/extended-plugin.md New core page referencing the shared extended plugin API documentation.

@MeelahMe MeelahMe requested a review from jstirnaman April 25, 2025 01:42
MeelahMe and others added 16 commits April 28, 2025 14:13
@MeelahMe MeelahMe requested a review from Copilot April 28, 2025 22:48
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR restructures the InfluxDB 3 plugins documentation to provide a more step-by-step and guided experience for users. Key changes include:

  • Adding a new shared extended plugin API documentation file with detailed code samples.
  • Updating the enterprise and core plugin extension files to source from the shared API document.
  • Refining menu naming and presentation for clarity.

Reviewed Changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.

File Description
content/shared/extended-plugin-api.md New, detailed documentation for the shared plugin API, complete with code examples and usage guidelines.
content/influxdb3/enterprise/plugins.md Minor update to the menu name for stylistic consistency.
content/influxdb3/enterprise/extend-plugin.md New documentation file extending plugins by sourcing shared API content.
content/influxdb3/core/extend-plugin.md New documentation file extending plugins by sourcing shared API content, with slight naming differences.
Comments suppressed due to low confidence (2)

content/influxdb3/core/extend-plugin.md:7

  • [nitpick] The menu name here differs from the enterprise version ('Extend plugins'); consider aligning the naming across both files for consistency.
    name: Extended plugins

content/influxdb3/enterprise/plugins.md:8

  • [nitpick] The change to 'Processing engine' appears intended for stylistic consistency; please confirm that this aligns with the overall documentation style.
    name: Processing engine and Python plugins

@MeelahMe MeelahMe requested a review from jstirnaman April 28, 2025 22:53
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.

Restructure influxdb3 /plugins for step-by-step clarity
2 participants