Skip to content

chore(snmp_trap): update README for snmp_trap#1455

Merged
kongfei605 merged 1 commit into
mainfrom
trap_docs
Jun 11, 2026
Merged

chore(snmp_trap): update README for snmp_trap#1455
kongfei605 merged 1 commit into
mainfrom
trap_docs

Conversation

@kongfei605

Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI review requested due to automatic review settings June 11, 2026 03:29

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 adjusts the SNMP trap plugin documentation/examples to better present metric aggregation/mapping options by moving the fields_to_labels documentation earlier and adding the same section to the shipped sample trap.toml.

Changes:

  • Reordered the fields_to_labels documentation block in the SNMP trap README to appear before varbind mapping.
  • Added a “Metric Aggregation and Mapping” example section (fields-to-labels, varbind mapping, trap mapping) to conf/input.snmp_trap/trap.toml.

Reviewed changes

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

File Description
inputs/snmp_trap/README.md Reorders the sample config documentation so fields_to_labels appears before varbind mapping.
conf/input.snmp_trap/trap.toml Adds corresponding commented sample config for metric aggregation/mapping options.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread inputs/snmp_trap/README.md
@kongfei605 kongfei605 merged commit 8a171e4 into main Jun 11, 2026
1 check passed
@kongfei605 kongfei605 deleted the trap_docs branch June 11, 2026 03:31
@kongfei605 kongfei605 changed the title chore(snmp_trap): update README for snmp_trp chore(snmp_trap): update README for snmp_trap Jun 11, 2026
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