docs/contrib/grafana.md
require 'contrib/grafana.php';
deploy.php
set('grafana', [
'token' => 'eyJrIj...',
'url' => 'http://grafana/api/annotations',
'tags' => ['deploy', 'production'],
]);
If you want to create annotation about successful end of deployment.
after('deploy:success', 'grafana:annotation');
Creates Grafana annotation of deployment.