Skip to content
New issue

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

Prod Release 23/02/24 #580

Merged
merged 2 commits into from
Feb 25, 2024
Merged

Prod Release 23/02/24 #580

merged 2 commits into from
Feb 25, 2024

Commits on Feb 23, 2024

  1. feat: Add metrics to Block Streamer (#579)

    This PR adds the following metrics to Block Streamer:
    - `LAST_PROCESSED_BLOCK` - height of last block seen, will be used to
    calculate the lag from tip of network
    - `PROCESSED_BLOCKS_COUNT` - count of blocks seen, used to calculate BPS
    - `PUBLISHED_BLOCKS_COUNT` - count of blocks published to Redis Stream,
    to determine whether the block stream is publishing messages
    - `LOGS_COUNT` - count logs by level, so we can alert on number of error
    logs etc.
    
    I've also slightly refactored `RedisClient` to support this change.
    morgsmccauley authored Feb 23, 2024
    Configuration menu
    Copy the full SHA
    22b582e View commit details
    Browse the repository at this point in the history
  2. Feat: added CORS matching all routes (#578)

    Added a config file. Nextjs will look for a next.config.js file on 'next
    dev' and will use the following configurations
    
    Functionality:
    
    Manages HTTP response headers.
    Header Configuration:
    
    Allows any origin for all routes.
    Specifies allowed methods and headers for CORS.
    
    Result: we should be able to remove any CORS browser extensions that
    bypass cross-origin requests that would otherwise be restricted
    Kevin101Zhang authored Feb 23, 2024
    Configuration menu
    Copy the full SHA
    7387fdc View commit details
    Browse the repository at this point in the history