name: monoscope version: 0.1.0.0 github: 'githubuser/monoscope' license: BSD3 author: 'Author name here' maintainer: 'example@example.com' copyright: '2021 Author name here' language: GHC2021 spec-version: 0.36.0 build-type: Custom custom-setup: dependencies: - base - Cabal - proto-lens-setup build-tools: - proto-lens-protoc:proto-lens-protoc extra-source-files: - proto/**/*.proto # - README.md - auto-instrument-config.toml - static/migrations/**/* # - static/public/**/*.png # - static/public/**/*.css # - static/public/**/*.ttf # - static/public/**/*.woff # - static/public/**/*.woff2 # - static/public/**/*.js # - static/public/**/*.json # - static/public/**/*.svg # - static/public/**/*.jpg # - static/public/**/*.webp # - static/public/**/*.html # - static/public/**/*.map # - static/public/**/*.yaml # - static/public/**/*.ico # - static/public/site.webmanifest # generated-other-modules: # generated-exposed-modules: ghc-options: - -fwrite-ide-info - -threaded - -fplugin AutoInstrument - -Weverything # - -fdefer-type-errors - -Werror # Treat warnings as errors - -fno-defer-typed-holes - -Wno-error=deprecations - -Wno-error=unused-packages - -Wno-error=implicit-lift - -Wno-error=missing-poly-kind-signatures - -Wno-missing-exported-signatures # missing-exported-signatures turns off the more strict -Wmissing-signatures. See https://ghc.haskell.org/trac/ghc/ticket/14794#ticket - -Wno-missing-import-lists # Requires explicit imports of _every_ function (e.g. ‘$’); too strict - -Wno-missed-specialisations # When GHC can’t specialize a polymorphic function. No big deal and requires fixing underlying libraries to solve. - -Wno-all-missed-specialisations # See missed-specialisations - -Wno-unsafe # Don’t use Safe Haskell warnings - -Wno-safe # Don’t use Safe Haskell warnings - -Wno-missing-local-signatures # Warning for polymorphic local bindings; nothing wrong with those. - -Wno-monomorphism-restriction # Don’t warn if the monomorphism restriction is used - -Wno-missing-safe-haskell-mode - -Wno-partial-fields - -Wno-prepositive-qualified-module - -Wno-missing-export-lists - -Wno-orphans # remove the next options when possible. This is a temporary workaround - -Wno-missing-deriving-strategies # for otlp generated files. Might move this to new package - -Wno-missing-role-annotations # for otlp generated files. Might move this to new package - -Wno-unused-matches - -Wno-missing-kind-signatures - -Wno-type-defaults - -Wno-unused-top-binds - -Wno-unused-imports - -Wno-error=incomplete-record-selectors - -Wno-error=ambiguous-fields # - -plugin-package hiedb-plugin -fplugin Plugin.HieDb # - "-prof" # - -g # - "-fprof-late" # - "-finfo-table-map" default-extensions: - BlockArguments - DataKinds - DerivingVia - DeriveAnyClass - DerivingStrategies - DuplicateRecordFields - ExplicitNamespaces - ExtendedDefaultRules - LambdaCase - MultiWayIf - NoImplicitPrelude - OverloadedLabels - OverloadedLists - OverloadedRecordDot - OverloadedStrings - PatternSynonyms - QuasiQuotes - RoleAnnotations - UndecidableInstances - TypeFamilies - RecordWildCards - TemplateHaskell - AllowAmbiguousTypes - TupleSections - ViewPatterns - DeriveGeneric - BangPatterns description: Please see the README on GitHub at library: source-dirs: - src generated-exposed-modules: # Common - Proto.Opentelemetry.Proto.Common.V1.Common - Proto.Opentelemetry.Proto.Common.V1.Common_Fields # Resource - Proto.Opentelemetry.Proto.Resource.V1.Resource - Proto.Opentelemetry.Proto.Resource.V1.Resource_Fields # Trace - Proto.Opentelemetry.Proto.Trace.V1.Trace - Proto.Opentelemetry.Proto.Trace.V1.Trace_Fields - Proto.Opentelemetry.Proto.Collector.Trace.V1.TraceService - Proto.Opentelemetry.Proto.Collector.Trace.V1.TraceService_Fields # Logs - Proto.Opentelemetry.Proto.Logs.V1.Logs - Proto.Opentelemetry.Proto.Logs.V1.Logs_Fields - Proto.Opentelemetry.Proto.Collector.Logs.V1.LogsService - Proto.Opentelemetry.Proto.Collector.Logs.V1.LogsService_Fields # Metrics - Proto.Opentelemetry.Proto.Metrics.V1.Metrics - Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields - Proto.Opentelemetry.Proto.Collector.Metrics.V1.MetricsService - Proto.Opentelemetry.Proto.Collector.Metrics.V1.MetricsService_Fields # Profiles - Proto.Opentelemetry.Proto.Profiles.V1development.Profiles - Proto.Opentelemetry.Proto.Profiles.V1development.Profiles_Fields - Proto.Opentelemetry.Proto.Collector.Profiles.V1development.ProfilesService - Proto.Opentelemetry.Proto.Collector.Profiles.V1development.ProfilesService_Fields dependencies: - base - relude >= 1.2.0.0 - colourista - proto-lens - proto-lens-runtime - vector-algorithms - effectful - effectful-core - effectful-th - effectful-postgresql - monad-time-effectful - wai-log - log-base - log-effectful - Unique # - streamly # - streamly-core - aeson - aeson-extra - aeson-qq - async - bytestring - base64 - mtl - base16-bytestring - http-types - cache >= 0.1.3.0 - case-insensitive - clock - containers - cookie - safe-exceptions - annotated-exception - safe - cryptonite - data-default - deriving-aeson - dotenv - envy - errors - mmark - extra - slugify - fmt - PyF - generic-lens - gogol - gogol-core - gogol-pubsub - hw-kafka-client - hashable - hashtables - http-api-data - lens - lens-aeson - lucid >= 2.9.12.1 - lucid-aria >= 0.1.0.1 - lucid-htmx >= 0.1.0.7 - lucid-hyperscript >= 0.1.0.2 - lucid-svg >= 0.7.1.1 - megaparsec - neat-interpolation - odd-jobs - parser-combinators - pg-entity - pg-transact - postgresql-migration - postgresql-simple - regex-tdfa - regex - resource-pool - resourcet - scientific - sendgrid-v3 >= 0.3.0.0 # todo delete - servant - servant-htmx - servant-lucid - servant-server - servant-queryparam-core - servant-queryparam-server - text - text-display - text-builder-linear - unliftio - time - unordered-containers - uuid - valor >= 1.0.0.0 - vector - wai - wai-cors - wai-extra - warp - wreq - xxhash - parallel - pretty-relative-time - tmp-postgres - directory - githash - network-uri - scotty - filepath - http-client - wai-middleware-static - template-haskell - cryptohash-md5 - casing - yaml - hs-opentelemetry-sdk - hs-opentelemetry-api - hs-opentelemetry-instrumentation-wai - hs-opentelemetry-instrumentation-auto - hs-opentelemetry-instrumentation-postgresql-simple - postgresql-libpq - ki-effectful - grapesy - langchain-hs - openai - bytestring - base16-bytestring - minio-hs - conduit executables: monoscope: main: Main.hs source-dirs: app ghc-options: - -threaded - -fplugin AutoInstrument - -rtsopts - -with-rtsopts=-N - -j4 - '+RTS -N -A128m -n2m -RTS' # - -O2 # - -fPIC dependencies: - monoscope - hs-opentelemetry-instrumentation-auto - name: relude version: '>= 1.2.0.0' mixin: - (Relude as Prelude) - '' tests: doctests: main: Main.hs source-dirs: test/doctests ghc-options: - -threaded - -rtsopts - -with-rtsopts=-N dependencies: - base - monoscope - hs-opentelemetry-instrumentation-auto - doctest >= 0.20 - relude >= 1.2.0.0 integration-tests: main: Main.hs source-dirs: test/integration ghc-options: - -threaded - -rtsopts - -with-rtsopts=-N build-tools: - hspec-discover:hspec-discover dependencies: - base - monoscope - hs-opentelemetry-instrumentation-auto - hspec - relude >= 1.2.0.0 - aeson - pg-entity - postgresql-simple - effectful - servant - servant-server - servant-htmx - resource-pool - generic-lens - odd-jobs - aeson-qq - base64 - time - uuid - pg-transact - vector - cache - data-default - clock - lens - proto-lens - grapesy unit-tests: main: Main.hs source-dirs: test/unit ghc-options: - -threaded - -rtsopts - -with-rtsopts=-N dependencies: - monoscope - hs-opentelemetry-instrumentation-auto - hspec - relude >= 1.2.0.0 - aeson - uuid - neat-interpolation - aeson-qq - extra - effectful-core - log-effectful - log-base - vector - time