cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

new deployment event monitoring

superuser786
Visitor

i want to monitor the new deployment change events and place it on the dashboard, how to acheive it? can you pls share the json dashboard template to import it my window?

9 REPLIES 9

AntonPineiro
DynaMight Guru
DynaMight Guru

Hi,

You have more than one way ingest deploy events.

Best regards

❤️ Emacs ❤️ Vim ❤️ Bash ❤️ Perl

i can see the deployment changes in events in the host overview page but i cant find the solutions to attach those events in the dashboard.. my requirement in to create the dashboard new deployment changes in the host and how do get it.. can anyone help 

Managed or SaaS?

Managed

andreas_grabner
Dynatrace Guru
Dynatrace Guru

I would also like to point you to our SDLC (Software Development Lifecycle Events). The idea is that we go beyond just deployment events and track every major step in the lifecycle of an artifact, eg: git commit, pull request, build, deploy, test, release, ...

Here is a video which also points to more information on GitHub and on the Playground: https://www.youtube.com/watch?v=NzFTO7aeKvs

While SDLC events currently dont show up in the UI they are the standard we will drive forward. An interim solution that I am promoting in the moment is that you start using SDLC - and - if you also want to have Deployment Events you can use a Workflow that triggers on SDLC events and then creates a Deployment Event that get attached to your entities (hosts, PGs, services ...). 

Hope this helps

Contact our DevRel team through devrel@dynatrace.com
SDLC (Software Development Lifecycle) Observability tracks every artifact from development to production, following its lifecycle through all your DevOps tools and pipelines. This helps engineering leads answer questions like: Where is my build? Why is my pipeline so slow? Which tests have been ...

I'm afraid this won't help because they're Managed.

i am still not getting the right information's or help, in managed Dynatrace there is no option available to create the dashboard for the new deployment changes in the host level, ( i can see the events about the new deployment or deployment changes in the host overview page but there is no option available to bring this metrics in to dashboard) 

Hi,

Looks like that is only possible in SaaS and not in Managed.

You can raise a product idea.

Best regards

❤️ Emacs ❤️ Vim ❤️ Bash ❤️ Perl

t_pawlak
Pro

Hi!
I had a very similar challenge when using Keptn and wanted a dashboard with validations/deploys. The most practical approach was to push metrics via the API and then visualize them on a dashboard.

Why metrics?

  • You can attach many dimensions (for example: app, service, host.name, version, pipeline, stage, result), which makes it easy to tailor charts/tables to your needs (timeseries, top lists, drill-downs).
  • It works cleanly in Dynatrace Managed — just ingest and the data is immediately available in Data Explorer/dashboards.

What I do in practice (short):

After every deployment/validation step, I send a single metric sample (e.g., custom.deployments.count 1) with the relevant dimensions.

On the dashboard I create:

  • a “Deployments over time” chart (sum/count, split by host.name or version),
  • a top list “Latest deployments by service/version”,
  • a table “Validation results” using stage and result dimensions.

Something like this:

# line format: metric,dim1=val1,dim2=val2 value [timestamp_ms]
custom.deployments.count,app=my-app,service=orders,host.name=app-01,version=2.3.7,pipeline=jenkins,stage=prod,result=success 1

curl -X POST "https://<ACTIVEGATE>:9999/e/<ENV_ID>/api/v2/metrics/ingest" \
  -H "Authorization: Api-Token <DT_API_TOKEN_WITH_metrics.ingest>" \
  --data-binary @- <<'EOF'
custom.deployments.count,app=my-app,service=orders,host.name=app-01,version=2.3.7,pipeline=jenkins,stage=prod,result=success 1
EOF

 

Tips:

  • Pick a consistent metric naming scheme (e.g., custom.deployments.count and/or custom.validation.duration.ms).
  • Choose dimensions that answer your key questions (Who/What/Where/Which version/What result).
  • On the dashboard, use split by and dimension filters to shape exactly the views you need.

Featured Posts