Skip to content

paketo-buildpacks/azure-application-insights

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
cmd
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

gcr.io/paketo-buildpacks/azure-application-insights

The Paketo Buildpack for Azure Application Insights is a Cloud Native Buildpack that contributes the Application Insights Agent and configures it to connect to the service.

Behavior

This buildpack will participate if all the following conditions are met

  • A binding exists with type of ApplicationInsights

The buildpack will do the following for Java applications:

  • Contributes a Java agent to a layer and configures JAVA_TOOL_OPTIONS to use it
  • Transforms the contents of the binding secret to environment variables with the pattern APPLICATIONINSIGHTS_<KEY>=<VALUE>

The buildpack will do the following NodeJS applications:

  • Contributes a NodeJS agent to a layer and configures $NODE_MODULES to use it
  • If main module does not already require appinsights module, prepends the main module with require('applicationinsights').start();
  • Transforms the contents of the binding secret to environment variables with the pattern APPLICATIONINSIGHTS_<KEY>=<VALUE>

License

This buildpack is released under version 2.0 of the Apache License.

Bindings

The buildpack optionally accepts the following bindings:

Type: dependency-mapping

Key Value Description
<dependency-digest> <uri> If needed, the buildpack will fetch the dependency with digest <dependency-digest> from <uri>

About

A Cloud Native Buildpack that contributes the Application Insights Agent and configures it to connect to the service

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published