Skip to content
  1. Aug 26, 2024
    • filvecchiato's avatar
      feat: add loki functionality to transport logs (#1479) · 85a4cca4
      filvecchiato authored
      * Updates the config from env files to include metrics options
      
      * updates README
      
      * update loki transport
      
      * update readme
      
      * fix port number on metrics app
      
      * update query params metrics
      
      * fix import sidecarConfig
      
      * fix readme
      
      * fix .env and readme
      85a4cca4
  2. Aug 19, 2024
    • filvecchiato's avatar
      feat: Inject metrics registry in route controllers (#1477) · 11c0173a
      filvecchiato authored
      * wip metrics in controllers
      
      * Cleanup of metrics util into own directory
      
      * metrics registry injected in res object
      
      * cleanup
      
      * Route-based metrics by response object injection
      
      * Delete .env
      
      * resolve linting issues
      
      * fix extrinsics metric
      
      * update readme
      
      * update on comments
      
      * updated types to generics
      
      * update private function to emit metrics on blocks
      
      * update naming for metrics and README
      11c0173a
  3. Aug 13, 2024
  4. Aug 08, 2024
    • filvecchiato's avatar
      feat: Add route based metrics across API (#1465) · a4bbcb8f
      filvecchiato authored
      * fix metric middleware
      
      * updated benchmarks' README.md to include new run all script
      
      * update to readmes
      
      * add dynamic metric creation
      
      * lint fix
      
      * updates error metric in error middleware
      
      * change preMiddleware
      
      * init: first try at route based metrics
      
      * lint clean
      
      * metrics by route function
      
      * route specific metrics
      
      * update to env
      
      * revert .gitignore
      
      * Remove yarn.lock
      
      * add yarn.lock
      
      * commit missing files
      
      * restore yarn.lock
      
      * fixes to metrics and docs update
      
      * update readme
      
      * update metrics naming
      
      * docs update
      a4bbcb8f
  5. Jul 03, 2024
  6. May 23, 2024
  7. Jan 09, 2024
  8. May 30, 2023
    • Dominique's avatar
      feat: add prometheus `metrics` endpoint in dedicated server & port (#1232) · a256790e
      Dominique authored
      
      
      * feat: add prometheus `metrics` endpoint in dedicated server & port
      - add separate express instance and port for prometheus metrics
      - expose the default prometheus metrics
      - add a custom metric of type `counter` that increments in every http error
      
      * fix lint errors by using an IIFE & adding void operator
      - remove the `return` keyword
      - add an IIFE inside the callback
      - add the `void` operator
      
      * update dep prom-client
      
      * add prometheus flags & fix for process.kill
      - add a prometheus flag that runs the prometheus server & enables the metrics endpoint
      - add a prometheus-port flag so that the user can choose a custom port to run the metrics endpoint
      - change the code in killAll so that there is no `Object is possibly undefined` error
      
      * code refactor, help page & README
      - add prometheus options and description under help flag
      - add `metricsApp` and increased `httpErrorCounter` only if prometheus flag is true
      - move logger and register inside functions
      - docs: add a section for prometheus in the README
      
      * remove jest unnecessary flags
      
      ---------
      
      Co-authored-by: default avatartarikgul <[email protected]>
      a256790e
  9. May 01, 2023
  10. Mar 09, 2023
  11. Jan 25, 2023
    • Tarik Gul's avatar
      feat: add fileTransport (#1189) · 9c2effb3
      Tarik Gul authored
      * feat: add fileTransport for local logging
      
      * lint
      
      * add env vars to SidecarConfig
      
      * add logic to transport logger
      
      * adjust logging
      
      * update log config
      
      * add WRITE_MAX_FILE_SIZE and WRITE_MAX_FILES
      
      * update the docs
      
      * cleanup some grumbles
      
      * update readme
      9c2effb3
  12. Jan 24, 2023
  13. Dec 20, 2022
    • Tarik Gul's avatar
      test(e2e-tests): add e2e-tests for latest runtimes, and blocks (#1155) · 095f57f9
      Tarik Gul authored
      * test(e2e-tests): outline errors for the process
      
      * add correct error code when sidecar fails to build
      
      * reorg the tsconfig in e2e tests and where the entry file exists
      
      * add endpoints
      
      * change yarn script names to historical for init
      
      * change request format to return statusCode as well as data
      
      * add working script
      
      * some cleanup
      
      * organize naming
      
      * cleanup
      
      * fix tiny grumble
      
      * add license to file
      
      * add script to startup the e2e tests
      
      * fix small blunders, and add scripts to package.json
      
      * set runE2eTests to runHistoricalE2eTests
      
      * add --local to historical e2e tests
      
      * get local working, and fix resolving errors
      
      * fix is local to fail when a chain is not specified
      
      * DRY up code
      
      * update docs in scripts
      
      * docs in e2e-tests
      
      * cleanup
      
      * add all statemint end points
      
      * make `--local` take in an input
      
      * update release notes
      
      * add latest to readme
      
      * new lint
      095f57f9
  14. Dec 13, 2022
  15. Sep 03, 2022
  16. Aug 15, 2022
  17. Aug 02, 2022
  18. Jul 27, 2022
  19. Jun 14, 2022
  20. May 20, 2022
  21. May 02, 2022
    • Tarik Gul's avatar
      fix(deps): update pjs api (#906) · 528420c2
      Tarik Gul authored
      * fix(deps): update pjs api
      
      * update apps-config
      
      * update pjs deps
      
      * fix mock test data
      
      * update small script to install packages for you
      528420c2
  22. Apr 25, 2022
  23. Apr 11, 2022
  24. Apr 07, 2022
  25. Feb 21, 2022
  26. Nov 25, 2021
  27. Nov 23, 2021
  28. Nov 11, 2021
  29. Oct 03, 2021
  30. Sep 17, 2021
  31. Sep 09, 2021
  32. Aug 26, 2021
  33. Jul 28, 2021
  34. Jul 27, 2021
  35. Jul 20, 2021
  36. Jul 14, 2021
  37. Jul 13, 2021
  38. Jul 12, 2021