Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/paketo-buildpacks/azure-application-insights
A Cloud Native Buildpack that contributes the Application Insights Agent and configures it to connect to the service
https://github.com/paketo-buildpacks/azure-application-insights
azure-application-insights cnb jvm-applications nodejs-applications
Last synced: about 1 month ago
JSON representation
A Cloud Native Buildpack that contributes the Application Insights Agent and configures it to connect to the service
- Host: GitHub
- URL: https://github.com/paketo-buildpacks/azure-application-insights
- Owner: paketo-buildpacks
- License: apache-2.0
- Created: 2020-03-16T22:09:21.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2024-11-11T13:35:36.000Z (about 1 month ago)
- Last Synced: 2024-11-11T14:32:01.746Z (about 1 month ago)
- Topics: azure-application-insights, cnb, jvm-applications, nodejs-applications
- Language: Go
- Size: 608 KB
- Stars: 7
- Watchers: 6
- Forks: 4
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# `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_=`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_=`## License
This buildpack is released under version 2.0 of the [Apache License][a].## Bindings
The buildpack optionally accepts the following bindings:### Type: `dependency-mapping`
|Key | Value | Description
|----------------------|---------|------------
|`` | `` | If needed, the buildpack will fetch the dependency with digest `` from ``[a]: http://www.apache.org/licenses/LICENSE-2.0