Repository navigation
Add the AutoOps ES watermark.flood_stage_frozen exported field - #54286
Closed
Anshuman-Prakash wants to merge 1 commit into
Closed
Anshuman-Prakash wants to merge 1 commit into
Anshuman-Prakash wants to merge 1 commit into
Conversation
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
|
This pull request doesn't have a |
Contributor
🤖 GitHub commentsJust comment with:
|
Contributor
|
This pull request does not have a backport label.
To fixup this pull request, you need to add the backport labels for the needed
|
Member
|
Please see my comment here: #54301 (comment). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Relates to #53197 (second item)
cluster_settings/data.go:81mapsflood_stage_frozenfromflood_stage.frozen, but_meta/fields.ymlonly declaredlow,highandflood_stage, so the field was collected and never declared. Added it to all three watermark groups (defaults, persistent, transient) and regeneratedexported-fields-autoops_es.mdwithmage fieldsDocsfrommetricbeat/.I deliberately did not do the issue's other half, adding
node.stats.attributes.logical_availability_zoneandinstance_configurationtonode_stats/_meta/fields.yml. That file documents onlyindices,jvm.mem.pools,jvm.gc.collectorsandfs.summary, whilenode_stats/data.gomaps 14 top-level keys —name,roles,host,ip,attributes,os,process,thread_pool,transport,breakersandhttpare 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 saysFieldsDocsgeneratesdocs/fields.asciidoc, butDocs.FieldDocsonly writes underdocs/reference/<beat>/now, so there's no asciidoc mirror to update here. The generator also rewrites everyexported-fields-*.mdwith LF endings when run on Windows; I reverted those, so only the autoops_es page is in the diff.