Coder Social home page Coder Social logo

Comments (5)

exekias avatar exekias commented on July 29, 2024 1

I'm wondering, does it make sense that we always add the fields to the readme, either manually or automatically, when these fields are defined and accessible by Kibana?

How about solving this from the UI? that would allow for more flexibility when browsing them (ie allow to collapse/expand them) and richer experience in the future (ie, showing units, link to metrics explorer to graph them, etc)

from integrations.

ruflin avatar ruflin commented on July 29, 2024

When the processing happens does not matter too much in the case of the imported packages as these are not manually modified. But lets take the case where we are building a package that is not imported.

I'm building a new package with a README. I want to have a fields.yml documented in there and nice data.json. My initial approach would be to manually modify the README file every time I update fields but this will get out of sync quickly. So also in this case I would like to use the nice templating to generate the fields.yml and the data.json inside my readme. Because of this, I think needs to happen during the build stage.

For question 2: The main problem I see not having it in Beats is that someone will update the README on the Beats side but will not know about this file ...

from integrations.

mtojek avatar mtojek commented on July 29, 2024

For reference: elastic/package-registry#313 (comment)

from integrations.

ruflin avatar ruflin commented on July 29, 2024

I could see that we support this in the future but for now I would like to push this out to the creators of the packages. One of the reasons is that for example also our website will consume these assets and would then also have to implement the templating code. We had in the beginning the discussion around templates in the README but realised to keep things simple it should be just an file we don't process for now.

from integrations.

mtojek avatar mtojek commented on July 29, 2024

I think we found the place. It would be great to keep them inside of the integrations, in the _dev directory.

It will be part of elastic/elastic-package#151. Resolving this one.

from integrations.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.