Skip to content

Commit

Permalink
🚧 fix linting issues and remove unnecessary packages
Browse files Browse the repository at this point in the history
  • Loading branch information
rathijitpapon committed Jun 28, 2024
1 parent 3a7ae3a commit 0ed7a5d
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 191 deletions.
2 changes: 1 addition & 1 deletion agency/.env.template
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ TRACING__SENTRY_DSN=
# TRACING__ENVIRONMENT=
# TRACING__PHOENIX_API=
# TRACING__PROJECT_NAME=
# TRACING__SERVIVE_NAME=
# TRACING__SERVICE_NAME=
# TRACING__JAEGER_ENDPOINT=

# GROQ API Configuration
Expand Down
10 changes: 5 additions & 5 deletions frontend/next.config.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {withSentryConfig} from '@sentry/nextjs';
import { withSentryConfig } from '@sentry/nextjs'
/** @type {import('next').NextConfig} */
const nextConfig = {
experimental: {
Expand Down Expand Up @@ -30,8 +30,8 @@ export default withSentryConfig(nextConfig, {
// For all available options, see:
// https://github.com/getsentry/sentry-webpack-plugin#options

org: "curieo",
project: "search",
org: 'curieo',
project: 'search',

// Only print logs for uploading source maps in CI
silent: !process.env.CI,
Expand All @@ -46,7 +46,7 @@ export default withSentryConfig(nextConfig, {
// This can increase your server load as well as your hosting bill.
// Note: Check that the configured route will not match with your Next.js middleware, otherwise reporting of client-
// side errors will fail.
tunnelRoute: "/monitoring",
tunnelRoute: '/monitoring',

// Hides source maps from generated client bundles
hideSourceMaps: true,
Expand All @@ -59,4 +59,4 @@ export default withSentryConfig(nextConfig, {
// https://docs.sentry.io/product/crons/
// https://vercel.com/docs/cron-jobs
automaticVercelMonitors: true,
});
})
173 changes: 1 addition & 172 deletions server/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 2 additions & 13 deletions server/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -66,23 +66,12 @@ time = { version = "0.3.36", features = ["serde"] }
dashmap = { version = "5.5.3", features = ["inline", "serde"] }
tokio-stream = { version = "0.1.15", features = ["full"] }
sentry = { version = "0.34.0", features = ["tracing"] }
sentry-tower = { version = "0.34.0", features = [
"http",
"axum",
"axum-matched-path",
] }
sentry-tower = { version = "0.34.0", features = ["http"] }
regex = "1.10.5"
minitrace = { version = "0.6", features = ["enable"] }
opentelemetry-jaeger = { version = "0.22.0", features = ["rt-tokio"] }
opentelemetry = "0.23.0"
opentelemetry-jaeger-propagator = "0.2.0"
opentelemetry_sdk = { version = "0.23.0", features = ["rt-tokio"] }
tracing-opentelemetry = "0.24.0"
opentelemetry-stdout = "0.4.0"
opentelemetry-otlp = { version = "0.16.0", features = [
# "http-proto",
"tls-roots",
] }
opentelemetry-otlp = { version = "0.16.0", features = ["tls-roots"] }
opentelemetry-semantic-conventions = "0.15.0"

[dependencies.openssl-sys]
Expand Down

0 comments on commit 0ed7a5d

Please sign in to comment.