Giter Site home page Giter Site logo

lobsterink / cloud.githubappinsightsactions Goto Github PK

View Code? Open in Web Editor NEW

This project forked from syedhassaanahmed/app-insights-event-action

0.0 1.0 0.0 9 KB

A rudimentary GitHub Action that allows you to send events to Azure Application Insights

License: MIT License

cloud.githubappinsightsactions's Introduction

App Insights for GitHub Actions

Sometimes a DevOps engineer wants to see changes to the deployment infrastructure on the observability dashboard, so that the changes can be correlated with resource usages or increases in errors. This composite run steps GitHub Action is a rudimentary attempt to solve that challenge by allowing you to send events to Azure Application Insights. Each event will be sent with some default GitHub environment variables. Full example usage of this action can be seen in this repository.

Usage

      - name: 'AppInsights: Begin Terraform'
        uses: lobsterink/cloud.githubappinsightsactions@main
        with:
            instrumentation-key: '${{ secrets.APP_INSIGHTS_KEY }}'
            event-name: 'provision-azure'
            event-data: |
              {
                "type": "start"
              }

      - name: "Terraform Apply"
        run: terraform apply -auto-approve

      - name: 'AppInsights: End Terraform'
        uses: lobsterink/cloud.githubappinsightsactions@main
        with:
            instrumentation-key: '${{ secrets.APP_INSIGHTS_KEY }}'
            event-name: 'provision-azure'
            event-data: |
              {
                "type": "end"
              }

cloud.githubappinsightsactions's People

Contributors

syedhassaanahmed avatar

Watchers

 avatar

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.