Skip to content

Add the AutoOps ES watermark.flood_stage_frozen exported field - #54286

Closed
Anshuman-Prakash wants to merge 1 commit into
elastic:mainfrom
Anshuman-Prakash:document-autoops-flood-stage-frozen
Closed

Anshuman-Prakash wants to merge 1 commit into
elastic:mainfrom
Anshuman-Prakash:document-autoops-flood-stage-frozen

Conversation

@Anshuman-Prakash

Copy link
Copy Markdown
Contributor

Relates to #53197 (second item)

cluster_settings/data.go:81 maps flood_stage_frozen from flood_stage.frozen, but _meta/fields.yml only declared low, high and flood_stage, so the field was collected and never declared. Added it to all three watermark groups (defaults, persistent, transient) and regenerated exported-fields-autoops_es.md with mage fieldsDocs from metricbeat/.

I deliberately did not do the issue's other half, adding node.stats.attributes.logical_availability_zone and instance_configuration to node_stats/_meta/fields.yml. That file documents only indices, jvm.mem.pools, jvm.gc.collectors and fs.summary, while node_stats/data.go maps 14 top-level keys — name, roles, host, ip, attributes, os, process, thread_pool, transport, breakers and http are all equally undeclared. Adding just the two new attributes would single them out arbitrarily; declaring the module's node_stats fields properly looks like a deliberate decision for whoever owns the module, so I'd rather not make it in a docs-drift PR. Happy to do the full pass if someone confirms that's wanted.

The watermark half is unambiguous either way, since its three siblings are already declared.

Note for reviewers: metricbeat/magefile.go's comment says FieldsDocs generates docs/fields.asciidoc, but Docs.FieldDocs only writes under docs/reference/<beat>/ now, so there's no asciidoc mirror to update here. The generator also rewrites every exported-fields-*.md with LF endings when run on Windows; I reverted those, so only the autoops_es page is in the diff.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@Anshuman-Prakash
Anshuman-Prakash requested review from a team as code owners October 31, 2026 15:35
@botelastic botelastic Bot added the needs_team Indicates that the issue/PR needs a Team:* label label Oct 31, 2026
@botelastic

botelastic Bot commented Oct 31, 2026

Copy link
Copy Markdown

This pull request doesn't have a Team:<team> label.

@github-actions

Copy link
Copy Markdown
Contributor

🤖 GitHub comments

Just comment with:

  • run docs-build : Re-trigger the docs validation. (use unformatted text in the comment!)
  • /test : Run the Buildkite pipeline.

@mergify

mergify Bot commented Oct 31, 2026

Copy link
Copy Markdown
Contributor

This pull request does not have a backport label.
If this is a bug or security fix, could you label this PR @Anshuman-Prakash? 🙏.
For such, you'll need to label your PR with:

  • The upcoming major version of the Elastic Stack
  • The upcoming minor version of the Elastic Stack (if you're not pushing a breaking change)

To fixup this pull request, you need to add the backport labels for the needed
branches, such as:

  • backport-8./d is the label to automatically backport to the 8./d branch. /d is the digit
  • backport-active-all is the label that automatically backports to all active branches.
  • backport-active-8 is the label that automatically backports to all active minor branches for the 8 major.
  • backport-active-9 is the label that automatically backports to all active minor branches for the 9 major.

@bmorelli25

Copy link
Copy Markdown
Member

Please see my comment here: #54301 (comment).

@bmorelli25 bmorelli25 closed this Nov 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs_team Indicates that the issue/PR needs a Team:* label

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants