blob: 84aa2e8507a16c67b7c3ff2437b99974d4849e36 (
plain)
1
2
3
4
5
6
7
8
9
|
namespace :gitlab do
desc 'GitLab | Tracks a deployment in GitLab Performance Monitoring'
task track_deployment: :environment do
metric = Gitlab::Metrics::Metric.
new('deployments', version: Gitlab::VERSION)
Gitlab::Metrics.submit_metrics([metric.to_hash])
end
end
|