synthetic-service

command module
v0.0.0-...-cb6a9ca Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 6, 2020 License: Apache-2.0 Imports: 17 Imported by: 0

README

dynatrace-synthetic-service

GitHub release (latest by date) Build Status Go Report Card

This implements a synthetic-service for Keptn.

Prerequirements

The keptn dynatrace-service must be installed in order to use the dynatrace-synthetic-service as it is using the Dynatrace credentials from it.

Compatibility Matrix

Keptn Version dynatrace-synthetic-service Docker Image
0.6.1 checkelmann/synthetic-service:0.1.1

Installation

The dynatrace-synthetic-service can be installed as a part of Keptn's uniform.

Deploy in your Kubernetes cluster

To deploy the current version of the synthetic-service in your Keptn Kubernetes cluster, apply the deploy/service.yaml file:

kubectl apply -f deploy/service.yaml

This should install the synthetic-service together with a Keptn distributor into the keptn namespace, which you can verify using

kubectl -n keptn get deployment synthetic-service -o wide
kubectl -n keptn get pods -l run=synthetic-service
Up- or Downgrading

Adapt and use the following command in case you want to up- or downgrade your installed version (specified by the $VERSION placeholder):

kubectl -n keptn set image deployment/synthetic-service synthetic-service=checkelmann/synthetic-service:$VERSION --record
Uninstall

To delete a deployed synthetic-service, use the file deploy/*.yaml files from this repository and delete the Kubernetes resources:

kubectl delete -f deploy/service.yaml

Configuration

The Service is listening for the sh.keptn.events.deployment-finished event, and will create a Synthetic Monitor in Dynatrace with the deploymentURIPubli as check URL.

You can add labels in your keptn event to confiure the check:

  • "SyntheticManuallyAssignedApp": "APPLICATION-XYZ Assign the monitor to an application.
  • "SyntheticFrequency": "5 Check Frequency in Minutes

Development

Development can be conducted using any GoLang compatible IDE or Text-Editor (e.g., Jetbrains GoLand, VSCode with Go plugins).

License

Please find more information in the LICENSE file.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL