Commit 63f0eadb authored by dhrubesh's avatar dhrubesh
Browse files

fixes error percentage key

parent 25803e66
develop 'issue141' 1244-edit-alert 1725-expection 24-may-2022-testing 414-uri add-cypress add-github--actions add-packages-back add-testing-framework adds-db-calls adds-external-calls alertmanager-discovery alerts ankit01-oss-patch-1 anweshknayak-patch-1 bug/synk-security-fixes bump-json-iterator bump-prometheus ch-connection-exit ch-index-changes change-installation change-p90 change-sample-alert check-antd-css chore-telemetry chore/analytics chore/change-validation-message chore/improve-metrics-perf chore/improve-perf-remote-read chore/install-script-update chore/migration-0.8.0 chore/migration-file-path chore/moving-to-clickhouse-v2 chore/remove-query-service-codeowners chore/update-otelcollector-0.43.0 clickhouse-helm clickhouse-persistence configurable-storage-class crud-dashboards custom_metrics dashboarad-vars dashboard-bug-fix debug-dep debug-dep-migrate disable-options docker-swarm effgo enable-alerts enable-gzip-frontend error-grpc feat-doc-contribute feat-statsd-receiver feat/addHasErrorColumn feat/amol-ee feat/clickhouse-db-optimizations feat/custom-func-getSubTreeSpans feat/dynamic-tooltip feat/ee feat/exclude-filter-support feat/featureFlagging feat/fields-compression feat/gRPC-code-method feat/getFilteredSpans feat/getSpanFilters feat/gh-bot feat/newTraceFilter feat/searchTraceId feat/support-custom-events feat/support-error-tab-page feat/support-events feat/tagValueSuggestion feat/trace-detail feat/trace-resource-attributes feat/udf-function-getSubTreeSpans feat/usage feat/usage-reporting filter-set fix-ami-linux-docker fix-api-call-twice fix-bug-link-err-traces fix-cors-put fix-double-client fix-endpoints-css fix-eslint fix-filtered-spans fix-gant-chart-timeline fix-husky fix-scroll-gantt-chart fix-service-map-zoom fix-tabs-issue fix-user fix/414-error-trace-filter-APIs fix/aggregate fix/error-exception-page-typo fix/error-exception-sql-issue fix/errorDetailURL fix/exceptionPageOptimization fix/exclude-operation fix/null-values fix/serviceMapDependencies fix/setTTLapis fix/telemetry-bug gzip hostmetrics infra-metrics issue-103- issue-1228 issue-1252 issue-1293 issue-1294 issue-1442 issue-1485-develop issue-1511 issue-1583 issue-618 issue-92 issue-95 issue-97 issue-pod-687 issues-106 issues-93 labels_object main makeavish-patch-1 makeavish-patch-2 metric-suggest-apis-chv2 metrics-builder-all metrics-table new-metrics new-metrics-enums palashgdev-patch-1 palashgdev-patch-2 perf/trace-detail-page playwright pranay01-patch-1 pranshuchittora/feat/dynamic-step-size prashant/add-codeowners prashant/add-deploy-docs prashant/ci-k3s-enchancements prashant/contributing-docs prashant/docker-data-path prashant/e2e-k3s-changes prashant/frontend-docker prashant/hotrod-log-options prashant/hotrod-template prashant/hotrod-yaml prashant/install-script-changes prashant/integrate-behaviorbot prashant/migrate-helm-charts prashant/minor-k3s-changes prashant/nginx-cache-improvement prashant/remove-ports prashant/rename-config prashant/single-hotrod-manifest prashant/two-compose-yaml prashant/version-ping-mini-css-extract-plugin prashant/versioning prod-deployment-issues prod-feedback query_refactor reduce-bundle-size reduce-bundle-size-1 refactor-gant-chart refactor-metrics-reducer refactor-redux refactor-selected-span refactoring release/v0.10 release/v0.10.0 release/v0.10.1 release/v0.10.2 release/v0.11 release/v0.11.0 release/v0.11.1 release/v0.11.2 release/v0.11.3 release/v0.6 release/v0.6.0 release/v0.6.1 release/v0.6.2 release/v0.7 release/v0.7.0 release/v0.7.1 release/v0.7.2 release/v0.7.3 release/v0.7.4 release/v0.7.5 release/v0.8 release/v0.8.0 release/v0.8.1 release/v0.8.2 release/v0.9 release/v0.9.0 release/v0.9.1 release/v0.9.2 remove-bundle-analyzer remove-gzip remove-zoom-post-stable revert-310-snyk-fix-d368e29b07323337ebe6ba0e289d85e7 revert-382-fix-eslint-error revert-386-remove-package revert-456-storybook revert-628-chore/migration-file-path revert-770-trace-styles revert-814-release/v0.7.0 revert-835-pc/feat/shared-styles-for-styled-components service-map snyk-fix-0c242a73fc20c472e37f0b59a7c93a5a snyk-fix-194ab2b3455dd9e2099068fc3ac5f20f snyk-fix-3d7b28e56a36018c4b5cf8438365ff27 snyk-fix-4ef12a6988dec7696867e0b2accb8289 snyk-fix-634b756aa5179844cafb3a54d707b934 snyk-fix-7ee2560cd9d67a9821899135c05c1175 snyk-fix-8f3a2f55a70c214b57d1a3b3bce7d0cf snyk-fix-a7789225303bf723cc0665d987e0bf24 snyk-fix-badf8cd7fc1f284699352ace871e5075 snyk-fix-d1c97e9d4144298a9396308ed03ebd9e snyk-fix-d368e29b07323337ebe6ba0e289d85e7 snyk-fix-d5e919722918d14db890a368b9964203 span-metrics spanAggregatesAPI test test-dropdown-fix trace-gantt-chart trace-search troubleshoot ttl-get-int ttl-plus update-err-chart-title update-graph-title update-zoom-px uuid-server wip-release-0.11.1 0.3.5 0.2.2 0.2.0 v0.11.3 v0.11.3-rc.1 v0.11.2 v0.11.2-rc.3 v0.11.2-rc.2 v0.11.2-rc.1 v0.11.1 v0.11.1-rc.1 v0.11.0 v0.11.0-rc.1 v0.11 v0.10.2 v0.10.1 v0.10.1-rc.1 v0.10.0 v0.10.0-rc2 v0.10.0-rc1 v0.10 v0.9.2 v0.9.2-rc1 v0.9.1 v0.9.0 v0.9.0-rc2 v0.9.0-rc1 v0.9 v0.8.2 v0.8.1 v0.8.1-rc5 v0.8.1-rc4 v0.8.1-rc3 v0.8.1-rc2 v0.8.1-rc1 v0.8.0 v0.8.0-rc6 v0.8.0-rc5 v0.8.0-rc4 v0.8.0-rc3 v0.8.0-rc2 v0.8.0-rc1 v0.8 v0.7.5 v0.7.5-rc2 v0.7.5-rc1 v0.7.4 v0.7.4-rc2 v0.7.4-rc1 v0.7.3 v0.7.2 v0.7.2-rc1 v0.7.1 v0.7.0 v0.7 v0.6.2 v0.6.1 v0.6.0 v0.6 v0.5.4 v0.5.3 v0.5.2 v0.5.1 v0.5.0 v0.4.5 v0.4.4 v0.4.3 v0.4.2 v0.4.1 v0.4.0 v0.3.6 v0.3.5 v0.3.4 v0.3.3 v0.3.2 v0.3.1 v0.2.2
No related merge requests found
Showing with 6 additions and 4 deletions
+6 -4
......@@ -115,7 +115,7 @@ const _ServiceMetrics = (props: ServicesMetricsProps) => {
<ExternalApiGraph
title="External Call Error Percentage (%)"
keyIdentifier="externalHttpUrl"
dataIdentifier="numCalls"
dataIdentifier="errorRate"
data={props.externalErrCodeMetrics}
/>
</Card>
......
......@@ -33,9 +33,9 @@ export interface externalMetricsAvgDurationItem {
}
export interface externalErrCodeMetricsItem {
callRate: number;
errorRate: number;
externalHttpUrl: string;
numCalls: number;
numErrors: number;
timestamp: number;
}
export interface topEndpointListItem {
......@@ -131,7 +131,9 @@ export const getDbOverViewMetrics = (
"&end=" +
globalTime.maxTime +
"&step=60";
const response = await api.get<dbOverviewMetricsItem[]>(apiV1 + request_string);
const response = await api.get<dbOverviewMetricsItem[]>(
apiV1 + request_string,
);
dispatch<getDbOverViewMetricsAction>({
type: ActionTypes.getDbOverviewMetrics,
payload: response.data,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment