Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added hooks and spec file for dynatrace #109

Merged
merged 2 commits into from
Oct 17, 2017
Merged

added hooks and spec file for dynatrace #109

merged 2 commits into from
Oct 17, 2017

Conversation

arthfl
Copy link
Contributor

@arthfl arthfl commented Oct 11, 2017

  • A short explanation of the proposed change:
    Added integration for the Dynatrace PaaS agent.
    This includes a flag that enables customers/users to skip the installation without an error if the download of the installer fails for some reason. When something goes wrong during the installation process itself, if still fails with an error. And the default is still to exit with an error, this was only added to give customers the possibility to prevent crashing apps if the download fails for some reason (network problem, wrong version requested...etc)

The integration is pretty similar to the still existing one in the staticfile buildpack.

  • An explanation of the use cases your change solves:
    This enables CloudFoundry users to monitor their apps with the Dynatrace PaaS agent.

  • I have viewed signed and have submitted the Contributor License Agreement

  • I have made this pull request to the develop branch

  • I have added an integration test

modified test to fit logenv scenario

fixed download url to include nodejs agent

getting process agent path from manifest.json now

added error handling for agentpath() and fixed some returns

fixed wrong paths in returns

fixed return paths

fixed dynatrace-env.sh path

removed cf_spec since it's not used anymore in upstream

added detection for multiple services

added debug output to service detection

clarified log output

added integration tests for dynatrace agent

changed url

adapted urls to new format, added test for service detection

added hook test includes

removed pointless checks

added services cleanup

improved error message and var names, removed pointless '/'

added test for incomplete dynatrace service

added skiperrors flag and needed tests

made check for skiperrors a bit nicer
@cfdreddbot
Copy link

Hey arthfl!

Thanks for submitting this pull request! I'm here to inform the recipients of the pull request that you and the commit authors have already signed the CLA.

@cf-gitbot
Copy link

We have created an issue in Pivotal Tracker to manage this:

https://www.pivotaltracker.com/story/show/151873095

The labels on this github issue will be updated when the story is started.

@sclevine
Copy link
Contributor

Thanks @arthfl, prioritized for review.

@dgodd dgodd merged commit c5a2244 into cloudfoundry:develop Oct 17, 2017
dgodd pushed a commit that referenced this pull request Oct 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants