Giter Club home page Giter Club logo

Comments (5)

kratos-ci-bot avatar kratos-ci-bot commented on June 6, 2024

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


The service backend using kratos may be distributed and hashed to a certain node randomly.
But now the metrics collected in memory are all single-machine data. Will there be problems with statistics in distributed situations?

from kratos.

Windfarer avatar Windfarer commented on June 6, 2024

kratos收集和暴露的是当前实例的数据,通常的实践是用prometheus收集各实例的数据,进行后续的处理

from kratos.

kratos-ci-bot avatar kratos-ci-bot commented on June 6, 2024

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Kratos collects and exposes the data of the current instance. The usual practice is to use prometheus to collect the data of each instance for subsequent processing.

from kratos.

harbourlga avatar harbourlga commented on June 6, 2024

想要采集到所有实例的数据,你可以把你的服务都注册到像consul这种服务注册中心。然后prometheus直接获取注册中心的注册实例去采集这样就不会遗漏数据了

from kratos.

kratos-ci-bot avatar kratos-ci-bot commented on June 6, 2024

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


If you want to collect data from all instances, you can register your services to a service registration center like consul. Then prometheus directly obtains the registration instance of the registration center to collect so that no data is missed.

from kratos.

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.