We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
As the title says ServerMonitoring.debug does not log anything to Datadog.
ServerMonitoring.debug
ServerMonitoringService
// monitoring.ts import { ServerMonitoringService } from '@kilohealth/web-app-monitoring/dist/server'; export const Monitoring = new ServerMonitoringService({ authToken: '', serviceName: '', serviceVersion: '', serviceEnv: '', });
getServerSideProps
// pages/random.ts import { GetServerSideProps, NextPage } from 'next'; import { Monitoring } from '../monitoring'; const RandomPage: NextPage = () => (<div>This is random page</div>); export const getServerSideProps: GetServerSideProps = async () => { return { props: {...} } }; export default RandomPage;
... export const getServerSideProps: GetServerSideProps = async () => { Monitoring.debug('getServerSideProps debug'); Monitoring.error('getServerSideProps error'); Monitoring.info('getServerSideProps info'); Monitoring.warn('getServerSideProps warn'); ... }; ...
all methods are logged except the debug one
debug
The text was updated successfully, but these errors were encountered:
No branches or pull requests
As the title says
ServerMonitoring.debug
does not log anything to Datadog.Steps to reproduce
ServerMonitoringService
getServerSideProps
all methods are logged except the
debug
oneThe text was updated successfully, but these errors were encountered: