On 23/02/2021 09:09, Obyvante wrote:
Thank you for answering my questions, you're really helping me out!

I'm sorry for beeing vague for both 2nd and 3rd questions. I'll explain more about my project and say what I want to collect and analyze.

(I use "player" as an "user")

  * Player count, location, their transactions(buying something from
    store)
  * Sever performance, general performance such as CPU, RAM etc.
  * Database performance, such as MySQL, Redis, RabbitMQ and MongoDB.
  * Systems performance, such as loaded player data, packets across
    the network, physical server usage.
  * Game specific metrics, such as in-game curreny earned/spent, game
    length, game actions(player join X game etc.) and more.

Some yes and some no.

From your list the server performance, packet counts, database metrics are all core things you'd use Prometheus for. Many pieces of software already support Prometheus directly or have exporters available to make scraping metrics very easy.

For you other two bullet points it really depends on what you are thinking. If you are looking for high level metrics (such as total numbers of users by country, total amount of currency spend, total game lengths, etc.) where you are producing data with relatively low cardinality dimensions (labels) then again yes this would be suitable for Prometheus.

However, if you are looking for per-user data, or the use of other high cardinality dimensions (such as IP address) then Prometheus wouldn't be suitable. Equally if you are wanting to store event data (e.g. transaction details about a store purchase) Prometheus wouldn't be suitable. For these you would generally use an event store/database (either relational or noSQL). You can still generate metrics from that data, so Prometheus could still have a place in the overall system, but as Ben says it is really about monitoring the overall state of the system, with alerts or dashboards showing number of online users, amounts of sales, CPU usage, database connections or network bandwidth.

--
Stuart Clark

--
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/9c009e4c-21da-1dd7-16b0-47e9b6b8d074%40Jahingo.com.

Reply via email to