Skip to content

Commit

Permalink
feat(provider/cf): add the metrics link to SG details (#6147)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jammy Louie authored and jkschneider committed Dec 7, 2018
1 parent d5c2511 commit 142680b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ import { ICloudFoundrySpace, ICloudFoundryDroplet } from 'cloudfoundry/domain';
import { ICloudFoundryInstance } from 'cloudfoundry/domain/ICloudFoundryInstance';

export interface ICloudFoundryServerGroup extends IServerGroup {
appsManagerUri: string;
appsManagerUri?: string;
metricsUri?: string;
memory: number;
diskQuota: number;
healthCheckType: string;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,15 @@ export class CloudFoundryInfoDetailsSection extends React.Component<ICloudFoundr
</div>
</CollapsibleSection>
)}
{serverGroup.metricsUri && (
<CollapsibleSection heading="Metrics" defaultExpanded={true}>
<div>
<a href={serverGroup.metricsUri} target="_blank">
Metrics
</a>
</div>
</CollapsibleSection>
)}
<CollapsibleSection heading="Server Group Sizing" defaultExpanded={true}>
<dl className="dl-horizontal dl-flex">
<dt>Instances</dt>
Expand Down

0 comments on commit 142680b

Please sign in to comment.