Skip to content

Commit

Permalink
Runned yarn prettier
Browse files Browse the repository at this point in the history
Signed-off-by: GLVS Kiriti <glvskiriti2003369@gmail.com>
  • Loading branch information
GLVSKiriti committed Jul 13, 2023
1 parent 40f3822 commit b1e8960
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 22 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,5 @@ limitations under the License.
.Ddg--SidePanel--decorationBtn.is-selected:focus {
border: none;
margin: 4px;
box-shadow:
inset 0 0 5px 2px #00b4ff,
0px 0px 5px 3px #006c99;
box-shadow: inset 0 0 5px 2px #00b4ff, 0px 0px 5px 3px #006c99;
}
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
// limitations under the License.

import memoizeOne from 'memoize-one';
import { Span, Trace,criticalPathSection } from '../../../types/trace';
import { Span, Trace, criticalPathSection } from '../../../types/trace';
import findChildSpanIds from './utils/findChildSpanIds';
import findLastFinishingChildSpanId from './utils/findLastFinishingChildSpanId';
import findRootSpanId from './utils/findRootSpanId';
Expand Down Expand Up @@ -63,7 +63,7 @@ export const computeCriticalPath = (
function TraceCriticalPath(trace: Trace) {
let traceData: Trace = trace;
let criticalPath: criticalPathSection[] = [];
console.log("Hi");
console.log('Hi');
const rootSpanId = findRootSpanId(trace.spans);
// If there is root span then algorithm implements
if (rootSpanId) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,7 @@ limitations under the License.
animation: LoadingIndicator--colorAnim 1s infinite alternate;
font-size: 36px;
/* outline / stroke the loading indicator */
text-shadow:
-0.5px 0 rgba(0, 128, 128, 0.6),
0 0.5px rgba(0, 128, 128, 0.6),
0.5px 0 rgba(0, 128, 128, 0.6),
text-shadow: -0.5px 0 rgba(0, 128, 128, 0.6), 0 0.5px rgba(0, 128, 128, 0.6), 0.5px 0 rgba(0, 128, 128, 0.6),
0 -0.5px rgba(0, 128, 128, 0.6);
}

Expand Down
4 changes: 1 addition & 3 deletions packages/jaeger-ui/src/components/common/VirtSelect.css
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,7 @@ limitations under the License.

.VirtSelect.is-focused:not(.is-open) > .Select-control {
border-color: #199;
box-shadow:
inset 0 1px 1px rgba(0, 0, 0, 0.075),
0 0 0 3px rgba(17, 153, 153, 0.1);
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 0 3px rgba(17, 153, 153, 0.1);
}

.VirtSelect.is-disabled > .Select-control {
Expand Down
14 changes: 7 additions & 7 deletions packages/jaeger-ui/src/model/link-patterns.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -249,12 +249,12 @@ export const processedLinks: ProcessedLinkPattern[] = (getConfigValue('linkPatte
.map(processLinkPattern)
.filter(Boolean);

export const getTraceLinks: (trace: Trace | undefined) => TLinksRV = memoize(10)((
trace: Trace | undefined
) => {
const result: TLinksRV = [];
if (!trace) return result;
return computeTraceLink(processedLinks, trace);
});
export const getTraceLinks: (trace: Trace | undefined) => TLinksRV = memoize(10)(
(trace: Trace | undefined) => {
const result: TLinksRV = [];
if (!trace) return result;
return computeTraceLink(processedLinks, trace);
}
);

export default createGetLinks(processedLinks, new WeakMap());
4 changes: 2 additions & 2 deletions packages/jaeger-ui/src/types/metrics.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -147,11 +147,11 @@ export type FetchedAllServiceMetricsResponse = [
PromiseFulfilledResult<MetricsAPIServiceResponseData<'service_latencies', 0.75>> | PromiseRejectedResult,
PromiseFulfilledResult<MetricsAPIServiceResponseData<'service_latencies'>> | PromiseRejectedResult,
PromiseFulfilledResult<MetricsAPIServiceResponseData<'service_call_rate'>> | PromiseRejectedResult,
PromiseFulfilledResult<MetricsAPIServiceResponseData<'service_error_rate'>> | PromiseRejectedResult,
PromiseFulfilledResult<MetricsAPIServiceResponseData<'service_error_rate'>> | PromiseRejectedResult
];

export type FetchAggregatedServiceMetricsResponse = [
PromiseFulfilledResult<MetricsAPIOpsResponseData<'service_operation_latencies'>> | PromiseRejectedResult,
PromiseFulfilledResult<MetricsAPIOpsResponseData<'service_operation_call_rate'>> | PromiseRejectedResult,
PromiseFulfilledResult<MetricsAPIOpsResponseData<'service_operation_error_rate'>> | PromiseRejectedResult,
PromiseFulfilledResult<MetricsAPIOpsResponseData<'service_operation_error_rate'>> | PromiseRejectedResult
];
2 changes: 1 addition & 1 deletion packages/jaeger-ui/src/types/trace.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -90,4 +90,4 @@ export type criticalPathSection = {
spanId: string;
section_start: number;
section_end: number;
};
};

0 comments on commit b1e8960

Please sign in to comment.