Skip to content
  1. Aug 13, 2024
  2. 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
  3. Jul 03, 2024
  4. May 23, 2024
  5. Jan 09, 2024
  6. 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
  7. May 01, 2023
  8. Mar 09, 2023
  9. 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
  10. Jan 24, 2023
  11. 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
  12. Dec 13, 2022
  13. Sep 03, 2022
  14. Aug 15, 2022
  15. Aug 02, 2022
  16. Jul 27, 2022
  17. Jun 14, 2022
  18. May 20, 2022
  19. 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
  20. Apr 25, 2022
  21. Apr 11, 2022
  22. Apr 07, 2022
  23. Feb 21, 2022
  24. Nov 25, 2021
  25. Nov 23, 2021
  26. Nov 11, 2021
  27. Oct 03, 2021
  28. Sep 17, 2021
  29. Sep 09, 2021
  30. Aug 26, 2021
  31. Jul 28, 2021
  32. Jul 27, 2021
  33. Jul 20, 2021
  34. Jul 14, 2021
  35. Jul 13, 2021
  36. Jul 12, 2021
  37. Jun 23, 2021
  38. Jun 21, 2021