dt-demos / pipeline-common-scripts Goto Github PK
View Code? Open in Web Editor NEWThis repo contains reference scripts for use integrating Dynatrace into software delivery pipelines using the Dynatrace Events API
This repo contains reference scripts for use integrating Dynatrace into software delivery pipelines using the Dynatrace Events API
I tried to execute the script azureDevopsDeploymentEvent , ended up with the below error.
Invoke-RestMethod : {"error":{"code":400,"message":"Invalid attachRules object
2020-04-20T08:01:58.2086317Z ##[error]PowerShell exited with code '1'.
2020-04-20T08:01:58.2096445Z provided. No MEIdentifier do match: Matching rule:
2020-04-20T08:01:58.2115242Z PushEventAttachRules{entityIds=null, tagRules=[TagMatchRule{meTypes=[SERVICE],
2020-04-20T08:01:58.2115339Z tags=[[CONTEXTLESS]environment:dynatrace, [CONTEXTLESS]service:approvals]}]}"}}
I have tagged the service appropriately attached is the screengrab of the service .
The following time formats didn't work for me:
Here is what worked for me: [DateTimeOffset]::Now.ToUnixTimeSeconds()
Notes
*The difference between what Get-Date -UFormat %s and what [DateTimeOffset]::Now.ToUnixTimeSeconds() return is 21600 seconds
*The issue may be that I was running on a Windows based build agent and/or there is something up with the GMT offset
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.