SigNoz is an open-source, OpenTelemetry-native observability platform for your team and their AI agents. Get logs, metrics, and traces in one tool with features like APM, distributed tracing, log management, infra monitoring, etc. Combined with SigNoz MCP and a native AI teammate (in SigNoz Cloud) it helps you build more resilient apps.
TypeScript apmapplication-monitoringdistributed-tracinggogood-first-issuejaegerloglogsmetricsmonitoringnextjsobservabilityopen-sourceopentelemetryprometheusreactreactjsself-hostedtracingtypescript
Instrumentation page light mode fix (#202)
Kishore1255da08dcba
diff --git a/frontend/src/modules/add-instrumentation/instrumentationPage.tsx b/frontend/src/modules/add-instrumentation/instrumentationPage.tsxindex 2fdb896db3..4ec576f605 100644--- a/frontend/src/modules/add-instrumentation/instrumentationPage.tsx+++ b/frontend/src/modules/add-instrumentation/instrumentationPage.tsx@@ -1,43 +1,42 @@-import React, { useEffect, useState } from "react";-import { Form, Input, Space } from "antd";+import React from "react";+import { Space } from "antd";import { connect } from "react-redux";-import { Tooltip } from "antd";-import {- InfoCircleOutlined,- EyeTwoTone,- EyeInvisibleOutlined,-} from "@ant-design/icons";import { StoreState } from "../../store/reducers";--import { Alert } from "antd";+import { useThemeSwitcher } from "react-css-theme-switcher";+import styled from "styled-components";++const InstrumentCard = styled.div<{+ currentThemeStatus: string | undefined;+}>`+ border-radius: 4px;+ background: ${({ currentThemeStatus }) => currentThemeStatus === 'dark' ? '#313131' : '#ddd'};+ padding: 33px 23px;+ max-width: 800px;+ margin-top: 40px;+`;interface InstrumentationPageProps {}-const InstrumentationPage = (props: InstrumentationPageProps) => {-+ const { currentTheme } = useThemeSwitcher();return (<React.Fragment>--<Space style={{ marginLeft: 60, marginTop: 48, display: 'block' }}><div><h2>Instrument your application</h2></div>-- <div className={"instrument-card"}>+ <InstrumentCard currentThemeStatus={currentTheme}>Congrats, you have successfully installed SigNoz!<br/>To start seeing YOUR application data here, follow the instructions in the docs -<a href={"https://signoz.io/docs/instrumentation/overview"} target="_blank"> https://signoz.io/docs/instrumentation/overview</a><br/>If you face any issues, join our <a href={"https://signoz-community.slack.com/join/shared_invite/zt-lrjknbbp-J_mI13rlw8pGF4EWBnorJA"} target="_blank">slack community</a> to ask any questions or mail us at <a href={"mailto:[email protected]"} target="_blank">- </a>- </div>+ [email protected]</a>+ </InstrumentCard></Space></React.Fragment>);