Skip to content

Generate fields.yml from prometheus response#3

Closed
jsoriano wants to merge 1 commit intocockroachdb-modulefrom
cockroachdb-module-fields-gen
Closed

Generate fields.yml from prometheus response#3
jsoriano wants to merge 1 commit intocockroachdb-modulefrom
cockroachdb-module-fields-gen

Conversation

@jsoriano
Copy link
Copy Markdown
Owner

Parse prometheus response and generate fields for metricbeat light modules.

Questions:

  • Do we want something like this?
  • It adds hundreds of fields, and we already have the prometheus.metrics.* dynamic mapping, do we want to generate documentation only and not fields?

@jsoriano jsoriano self-assigned this Jun 26, 2019
@exekias
Copy link
Copy Markdown

exekias commented Jun 27, 2019

I think It's great to have docs for all fields, specially if they come for free. As you say, we don't really need the mappings though.

How about doing exactly what's on this PR but add a flag to fields.yml to explicitly say that the field should not end up in mapping?, Something like docs_only for instance

@jsoriano jsoriano closed this Jun 1, 2022
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