mirror of https://github.com/portainer/portainer
10 lines
366 B
TypeScript
10 lines
366 B
TypeScript
![]() |
import { EnvironmentId } from '@/react/portainer/environments/types';
|
||
|
import { queryKeys as namespaceQueryKeys } from '@/react/kubernetes/namespaces/queries/queryKeys';
|
||
|
|
||
|
export const queryKeys = {
|
||
|
namespaceMetrics: (environmentId: EnvironmentId, namespaceName: string) => [
|
||
|
...namespaceQueryKeys.namespace(environmentId, namespaceName),
|
||
|
'metrics',
|
||
|
],
|
||
|
};
|