dynatrace / awsdevopstutorial Goto Github PK
View Code? Open in Web Editor NEWUnbreakable DevOps Pipeline Tutorial with AWS CodeDeploy, AWS CodePipeline, AWS Lambda, EC2 and Dynatrace
License: Apache License 2.0
Unbreakable DevOps Pipeline Tutorial with AWS CodeDeploy, AWS CodePipeline, AWS Lambda, EC2 and Dynatrace
License: Apache License 2.0
Hi Andi!
There appears to be some issues with creating zip archives on MacOS for changing the BUILD_NUMBER value. For those on MacOS, you can get around this by downloading WinZip to work with the archives.
Push the approval comments, added at the manual approval stages, into Dynatrace.
I am getting a certificate error while executing the PushDynatraceDeploymentEvent event. Looks like the Lamba function is throwing the below error.
2018-12-23T14:27:47.403Z 72176725-06be-11e9-af0d-59511e77529b Error: Hostname/IP doesn't match certificate's altnames: "IP: xx.xx.xx.xx is not in the cert's list: "
Is this because I am using a self-signed certificate for my Dynatrace tenant? Is there a way I can bypass this error or add this to safe list? Seems like we can overcome this with below parameter:
rejectUnauthorized:false
Any suggestions where to do this change?
pushDynatraceDeploymentEvent function is failing while deploying.
Error: The AWS Lambda function pushDynatraceDeploymentEvent failed to return a result. Check the function to verify that it has permission to call the PutJobSuccessResult action and that it made a call to PutJobSuccessResult.
CloudWatch Logs:
{ "environmentName": "Staging", "userComment": "CodePipeline Deploying in Staging", "eventType": "CUSTOM_DEPLOYMENT", "customProperties": { "PipelineName": "SampleDevOpsPipeline", "PipelineStage": "Staging", "PipelineAction": "PushDynatraceDeploymentEvent", "CodeDeploy.DeploymentGroup": "Staging", "CodeDeploy.Application": "SampleDevOpsApp", "CodeDeploy.DeploymentId": "d-JBLZUMRG4" }, "deploymentName": "CodePipeline Deploying in Staging", "deploymentVersion": "d-JBLZUMRG4", "deploymentProject": "SampleDevOpsPipeline", "remediationAction": "https://26mzguh7h6.execute-api.us-west-2.amazonaws.com/v1/HandleDynatraceProblem", "source": "AWS CodePipeline", "attachRules": { "tagRule": [ { "meTypes": [ "SERVICE" ], "tags": [ { "context": "CONTEXTLESS", "key": "DeploymentGroup", "value": "Staging" } ] } ] } }
Handling No MEIdentifier do match: retryCount=8
Push the approval comments, added at the manual approval stages, into Dynatrace.
ansible-license.txt
is missing in copytos3
folder. The readme still mentions it.
Either re-add ansible-license.txt
or remove references in tutorials / readme.
#1: Extend sample to work WITHOUT having to define the Service Tagging Rule. In order for this to work enable Monspec to also define tags that work on the underlying Process Group Instance for that Service
#2: There seems to be a time lag between the first time the app process comes up until the OneAgent sends the data to Dynatrace. This results in the pushDeploymentInfo call to FAIL the first time we execute the pipeline. Add a retry to that lambda function to not fail right away
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.