Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dynatrace/heroku-buildpack-dynatrace
Heroku buildpack to enable application monitoring for Heroku apps
https://github.com/dynatrace/heroku-buildpack-dynatrace
dynatrace heroku heroku-buildpack integration
Last synced: about 8 hours ago
JSON representation
Heroku buildpack to enable application monitoring for Heroku apps
- Host: GitHub
- URL: https://github.com/dynatrace/heroku-buildpack-dynatrace
- Owner: Dynatrace
- License: mit
- Created: 2017-10-31T09:32:51.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2024-10-21T12:43:20.000Z (25 days ago)
- Last Synced: 2024-10-21T18:08:09.369Z (24 days ago)
- Topics: dynatrace, heroku, heroku-buildpack, integration
- Language: Shell
- Homepage:
- Size: 38.1 KB
- Stars: 9
- Watchers: 23
- Forks: 13
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Heroku Dynatrace Buildpack
The Heroku buildpack for Dynatrace OneAgent enables cloud-native monitoring of your Heroku application by integrating Dynatrace OneAgent into your application’s slug and dyno.
## Usage
This buildpack deploys the [Dynatrace OneAgent] to automatically monitor the performance of your application and microservices in Heroku. This buildpack requires an existing Dynatrace environment and is to be used in addition to the normal [Heroku Language Buildpack] of your project. Please note this buildpack is language-independent and can be used with any [Dynatrace supported language](https://www.dynatrace.com/support/help/technology-support#applications-services-and-databases) for your Heroku environment.
### Installation
To integrate Dynatrace OneAgent into your existing project you need to add the Dynatrace buildpack to your project's buildpacks and set your Dynatrace environment ID and token. For complete details, please see the [Dynatrace Heroku installation guidelines](https://www.dynatrace.com/support/help/how-to-use-dynatrace/infrastructure-monitoring/cloud-platform-monitoring/heroku-monitoring).
```shell
# Add a released version of the Dynatrace Heroku buildpack:
heroku buildpacks:add https://github.com/Dynatrace/heroku-buildpack-dynatrace.git## Set required credentials and link your Heroku application with your Dynatrace environment
heroku config:set DT_TENANT=
heroku config:set DT_API_TOKEN=# Deploy to Heroku
git push heroku master
```After pushing the changes the buildpack installs Dynatrace OneAgent to automatically monitor the application.
### Configuration
The Dynatrace buildpack supports the following configurations:
| Environment variable | Description|
| --- | --- |
| DT_TENANT | Your Dynatrace environment ID is the unique identifier of your Dynatrace environment. You can find it in the deploy Dynatrace section within your environment. |
| DT_API_TOKEN | The token for integrating your Dynatrace environment with Heroku. You can find it in the deploy Dynatrace section within your environment. |
| DT_API_URL | *Optional* - Replace with your Dynatrace Managed URL, including the environment ID. An example URL might look like the following `https://{your-managed-cluster.com}/e/{environmentid}/api` |
| DT_DOWNLOAD_URL | *Optional* - A direct download URL for Dynatrace OneAgent. If this environment variable is set, the buildpack will download the OneAgent from this location. |
| SSL_MODE | *Optional* - Set to `all` if you want to accept all self-signed SSL certificates |
| DT_TAGS | *Optional* - The tags you want to add to the monitored apps. |
| DT_NETWORK_ZONE | *Optional* - To look for communication endpoints located on the indicated region. |
| SKIP_ERRORS | *Optional* - If set to 1, app deployment won't fail on agent installer download errors |
| DT_TECHNOLOGY | *Optional* - Configure specific OneAgent codemodules. This will potentially decrease the required disk space a lot. Falls back to `all` when not set, therefore including all suported technologies. Supported values can be found on https://docs.dynatrace.com/docs/dynatrace-api/environment-api/deployment/oneagent/download-oneagent-version#parameters in the "include" row |## License
Licensed under the MIT License. See the [LICENSE] file for details.
[Dynatrace OneAgent]: https://www.dynatrace.com/support/help/setup-and-configuration/dynatrace-oneagent
[Heroku Language Buildpack]: https://devcenter.heroku.com/articles/buildpacks#default-buildpacks
[LICENSE]: https://github.com/dynatrace/heroku-buildpack-dynatrace/blob/master/LICENSE