Skip to content
Snippets Groups Projects
Unverified Commit 15db50c5 authored by Peter Leitzen's avatar Peter Leitzen
Browse files

Show metrics for environments without a deployment

parent 3e3f8ac8
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -149,7 +149,7 @@ class Environment < ActiveRecord::Base
end
 
def has_metrics?
prometheus_adapter&.can_query? && available? && last_deployment.present?
prometheus_adapter&.can_query? && available?
end
 
def metrics
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment