Merge pull request 'Обновить src/Charts/PrometheusChart.jsx' (#21) from refactoring into rc
test-org/trust-module-frontend/pipeline/pr-main Build succeeded
test-org/trust-module-frontend/pipeline/pr-main Build succeeded
Reviewed-on: http://192.168.2.61/deployer3000/trust-module-frontend/pulls/21pull/22/head 1.0.9
commit
67f776efe3
|
|
@ -92,7 +92,7 @@ const PrometheusChart = ({ metricName }) => {
|
||||||
else if (range <= 86400) step = 120;
|
else if (range <= 86400) step = 120;
|
||||||
else step = 300;
|
else step = 300;
|
||||||
|
|
||||||
const response = await axios.get('http://192.168.2.39:3000/metrics', {
|
const response = await axios.get('https://192.168.2.43:3000/metrics', {
|
||||||
params: { metric: metricName, start, end, step },
|
params: { metric: metricName, start, end, step },
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue