Code Monkey home page Code Monkey logo

Comments (1)

jbensal avatar jbensal commented on May 14, 2024

Hi, @DeoLeung! We used to have a Grafana dashboard but deprecated it due to maintenance costs. We expose Prometheus metrics on port 6034/metrics endpoint and now have a script that you can use to pretty print the metrics in a more human readable way.

To run the metrics script, first grab it from our /docs repo with this command.

curl -O https://raw.githubusercontent.com/readysettech/docs/main/docs/assets/metrics.py

and run it with.

python3 metrics.py

Before that, you'll also need to pass a few additional flags to run ReadySet and expose port 6034. The full command (based on the tutorial) is below. There is an extra port in --publish and the --query-log and --query-log-ad-hoc flags are now being set.

docker run -d \
--name=readyset \
--publish=5433:5433 \
--publish=6034:6034 \
--network=readyset-net \
--platform=linux/amd64 \
--volume='readyset:/state' \
--pull=always \
-e DEPLOYMENT_ENV=tutorial_docker \
-e RS_API_KEY \
public.ecr.aws/readyset/readyset:latest \
--standalone \
--deployment='tutorial-postgres' \
--database-type=postgresql \
--upstream-db-url=postgresql://postgres:readyset@postgres:5432/imdb \
--address=0.0.0.0:5433 \
--username='postgres' \
--password='readyset' \
--query-caching='explicit' \
--db-dir='/state' \
--query-log \
--query-log-ad-hoc

from readyset.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.