Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/api-v4/src/object-storage/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ export interface ObjectStorageBucket {
hostname: string;
label: string;
objects: number;
region?: string;
region: string;
s3_endpoint?: string;
size: number; // Size of bucket in bytes
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ import { CloudPulseDashboardWithFilters } from 'src/features/CloudPulse/Dashboar

interface Props {
bucketName: string;
clusterId: string;
region: string;
}

export const MetricsTab = ({ bucketName, clusterId }: Props) => {
export const MetricsTab = ({ bucketName, region }: Props) => {
return (
<CloudPulseDashboardWithFilters
dashboardId={6}
region={clusterId}
region={region}
resource={bucketName}
/>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ export const BucketDetailLanding = React.memo(() => {

{!!metricsTabIndex && (
<SafeTabPanel index={metricsTabIndex}>
<BucketMetrics bucketName={bucketName} clusterId={clusterId} />
<BucketMetrics bucketName={bucketName} region={bucket.region} />
</SafeTabPanel>
)}
</TabPanels>
Expand Down