Coder Social home page Coder Social logo

jalawala / aws-o11y-recipes Goto Github PK

View Code? Open in Web Editor NEW

This project forked from aws-observability/aws-o11y-recipes

0.0 0.0 0.0 17.39 MB

recipes for observability solutions at AWS

Home Page: https://aws-observability.github.io/aws-o11y-recipes/

Shell 2.86% JavaScript 3.36% Go 74.58% TypeScript 17.26% Makefile 0.82% Dockerfile 1.12%

aws-o11y-recipes's Introduction

AWS o11y recipes

See aws-observability.github.io/aws-o11y-recipes/.

Security

See CONTRIBUTING for more information.

License

This library is licensed under the MIT-0 License. See the LICENSE file.

Writing recipes

To write recipes we're using MkDocs with the Material theme. MkDocs is a static site generator, converting the Markdown files you edit to static HTML pages which are then served as via GitHub pages

Local preview

In order to locally preview the recipes site you need to have MkDocs installed, for example on macOS you can use brew install mkdocs. Further, we depend on the Material theme and some p[lugins you can install as follows:

pip install mkdocs-material mkdocs-awesome-pages-plugin mkdocs-macros-plugin

To generate a local preview do:

$ mkdocs serve
INFO     -  Building documentation...
INFO     -  Cleaning site directory
...

Now head over to http://127.0.0.1:8000/aws-o11y-recipes/ where you should find the local preview of the recipes site.

If you are looking for formatting tips, check out the Material theme reference.

Note the following when writing a recipe:

  • The recipes are located in the docs/recipes/.
  • The name of the recipe follows in general the dimensions, for example, ec2-eks-metrics-go-adot-ampamg.md indicates a recipe for an EKS on EC2 setup, showing how to ingest metrics from a Go app into AMP and consume in AMG.
  • If you have any supporting files such as YAML manifests or scripts, create a directory with the same name as the recipe Markdown file, so in above case you would find a directory docs/recipes/ec2-eks-metrics-go-adot-ampamg/ that contains YAML files used in the recipes.
  • Put all your images, be it a screen shot or the like, into the docs/images directory.
  • When you create a new recipe, don't forget to link it from one of the top-level pages found in the docs/ directory. For example, above recipe you could add to amg.md, amp.md, and eks.md.

IMPORTANT Before you send in a PR, make sure that the local preview with mkdocs serve renders OK, that is, all images are shown and the rest of the formatting, such as code, displays as you would expect.

Publishing

Once you PR the repo, we will review and test the recipes and the merge of your PR kicks of a GitHub action that publishes your recipe automatically.

aws-o11y-recipes's People

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.