1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

typo/translation correction: transit to transmit (#359)

Signed-off-by: Dave Thomas <davejonthomas@gmail.com>
This commit is contained in:
dave93cab 2020-06-04 04:44:08 -05:00 committed by GitHub
parent e25be40dd8
commit 0248189c45
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 14 additions and 14 deletions

View File

@ -22,7 +22,7 @@ export class PodsApi extends KubeApi<Pod> {
memoryLimits: opts,
fsUsage: opts,
networkReceive: opts,
networkTransit: opts,
networkTransmit: opts,
}, {
namespace,
});
@ -39,7 +39,7 @@ export interface IPodMetrics<T = IMetrics> {
memoryLimits: T;
fsUsage: T;
networkReceive: T;
networkTransit: T;
networkTransmit: T;
}
export interface IPodLogsQuery {

View File

@ -40,7 +40,7 @@ export const PodCharts = observer(() => {
memoryLimits,
fsUsage,
networkReceive,
networkTransit
networkTransmit
] = values;
const datasets = [
@ -102,11 +102,11 @@ export const PodCharts = observer(() => {
data: networkReceive.map(([x, y]) => ({ x, y }))
},
{
id: `${id}-networkTransit`,
label: _i18n._(t`Transit`),
id: `${id}-networkTransmit`,
label: _i18n._(t`Transmit`),
tooltip: _i18n._(t`Bytes transmitted from all containers`),
borderColor: "#46cd9e",
data: networkTransit.map(([x, y]) => ({ x, y }))
data: networkTransmit.map(([x, y]) => ({ x, y }))
}
],
// Filesystem

File diff suppressed because one or more lines are too long

View File

@ -2196,8 +2196,8 @@ msgid "Tolerations"
msgstr "Tolerations"
#: client/components/+workloads-pods/pod-charts.tsx:87
msgid "Transit"
msgstr "Transit"
msgid "Transmit"
msgstr "Transmit"
#: client/components/+cluster/cluster-issues.tsx:102
#: client/components/+config-secrets/secret-details.tsx:74

File diff suppressed because one or more lines are too long

View File

@ -2197,7 +2197,7 @@ msgid "Tolerations"
msgstr "Толерантности"
#: client/components/+workloads-pods/pod-charts.tsx:87
msgid "Transit"
msgid "Transmit"
msgstr "Транзит"
#: client/components/+cluster/cluster-issues.tsx:102

View File

@ -62,7 +62,7 @@ export class PrometheusLens implements PrometheusProvider {
memoryLimits: `sum(kube_pod_container_resource_limits{pod=~"${opts.pods}",resource="memory",namespace="${opts.namespace}"}) by (${opts.selector})`,
fsUsage: `sum(container_fs_usage_bytes{container!="POD",container!="",pod=~"${opts.pods}",namespace="${opts.namespace}"}) by (${opts.selector})`,
networkReceive: `sum(rate(container_network_receive_bytes_total{pod=~"${opts.pods}",namespace="${opts.namespace}"}[${this.rateAccuracy}])) by (${opts.selector})`,
networkTransit: `sum(rate(container_network_transmit_bytes_total{pod=~"${opts.pods}",namespace="${opts.namespace}"}[${this.rateAccuracy}])) by (${opts.selector})`
networkTransmit: `sum(rate(container_network_transmit_bytes_total{pod=~"${opts.pods}",namespace="${opts.namespace}"}[${this.rateAccuracy}])) by (${opts.selector})`
}
case 'pvc':
return {

View File

@ -70,7 +70,7 @@ export class PrometheusOperator implements PrometheusProvider {
memoryLimits: `sum(kube_pod_container_resource_limits{pod=~"${opts.pods}",resource="memory",namespace="${opts.namespace}"}) by (${opts.selector})`,
fsUsage: `sum(container_fs_usage_bytes{container!="POD",container!="",pod=~"${opts.pods}",namespace="${opts.namespace}"}) by (${opts.selector})`,
networkReceive: `sum(rate(container_network_receive_bytes_total{pod=~"${opts.pods}",namespace="${opts.namespace}"}[${this.rateAccuracy}])) by (${opts.selector})`,
networkTransit: `sum(rate(container_network_transmit_bytes_total{pod=~"${opts.pods}",namespace="${opts.namespace}"}[${this.rateAccuracy}])) by (${opts.selector})`
networkTransmit: `sum(rate(container_network_transmit_bytes_total{pod=~"${opts.pods}",namespace="${opts.namespace}"}[${this.rateAccuracy}])) by (${opts.selector})`
}
case 'pvc':
return {

View File

@ -31,7 +31,7 @@ export type PrometheusPodQuery = {
cpuLimits: string;
fsUsage: string;
networkReceive: string;
networkTransit: string;
networkTransmit: string;
}
export type PrometheusPvcQuery = {