Skip to content

Commit

Permalink
Improved documentation and renamed workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
wictorwilen committed May 24, 2020
1 parent b934dae commit aadcce7
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
File renamed without changes.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@ A Github Action that creates Deployment annoations in Application Insights

![.github/workflows/test.yml](https://github.com/wictorwilen/application-insights-action/workflows/.github/workflows/test.yml/badge.svg)

This action allows you to add annotations to the Application Insights timeline so that you with ease can correlate any issues or changes to specific deployments.

![Annotation sample](assets/annotation-sample.jpg)

## Setup

You need the *Application Id* for your Application Insights instance as well as an *API key*. These values are found in the *API Access* tab. The *API key* is created by selecting *Create API key* and then typing a description and selecting *Write Annotations*. After selecting *Generate key* you will get the generated *API key*. It is strongly recommended to add these two as [Github secrets](https://help.github.com/en/actions/configuring-and-managing-workflows/creating-and-storing-encrypted-secrets) and not reference them directly in your workflow.

## Inputs

The action accepts the following inputs:
Expand All @@ -17,7 +25,7 @@ The action accepts the following inputs:
## Sample configuration

``` yaml
- name: Annotation
- name: Annotate deployment
uses: wictorwilen/application-insights-action@v1
id: annotation
with:
Expand Down
Binary file added assets/annotation-sample.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit aadcce7

Please sign in to comment.