Metrics
Basic metrics for your container.
@if ($resource->getMorphClass() === 'App\Models\Application' && $resource->build_pack === 'dockercompose')
Metrics are not available for Docker Compose applications yet!
@elseif(!$resource->destination->server->isSentinelEnabled())
Metrics are only available for servers with Sentinel enabled!
@else
@if (!str($resource->status)->contains('running'))
Metrics are only available when this resource is running!
@else
@endif
@endif