-
Notifications
You must be signed in to change notification settings - Fork 8
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
[Observability] Permissionless demand observability #762
Comments
Going to extend this dashboard: https://grafana.poktroll.com/d/b799a130-3789-416d-aa7f-de5f4599cf03/network-overview?orgId=1 |
Changing some metric names per prometheus guide and adding new ones (including the metrics that can be found in cosmos-sdk modules but are missing in ours). - #832 This will temporarily invalidate some dashboards on Dev/Test nets until we change the queries there. |
I don't think we can expose this metric on full-node due to cardinality issues. I'll see if we can make it configurable/optional. |
Do you mean the suffixes?
I realize this is a non-trivial metric. Curious if you can just explain/show the cardinality issue more? |
I've added a custom configuration that is disabled by default but can be enabled on smaller networks. It will soon be ready for review in #832. So this won't be a long-term issue anymore. To provide context: If we break down the total by suppliers (say 5) = we have the same number of time series as there are suppliers - 5.
Not just that, but names in general. We had a discussion on GitHub a long time ago, and I wanted to revisit it. Now seemed like a good time. |
After a quick conversation in #832 I want to check if we can get some data for the deliverables in this ticket can be imported into Grafana from pocketdex db directly. We should be able to make it work, there just might be issues with JSON parsing. |
@okdas Are you going to use the SQL or GraphQL endpoints? Asking just to understand what you're thinking. cc @bryanchriswhite for visiblity ☝️ |
I think SQL is a better option because Grafana has an official postgresql data source. There are GraphQL data sources from the community, though, I'll resort to them if Postgres won't work for any reason. LLMs write queries quickly and reliably now, I think it should be a good solution for what we need. Will check this out soon! |
@okdas, I'm not sure if any of the following context is helpful, but perhaps it adds useful detail: Fields of indexed objects (blocks, txs, msgs, events, etc.) which contain JSON encoded objects should be stored in postgres using its |
@bryanchriswhite I'd love to use JSON operators against
I've been using events successfully to extract metrics now. Events are not saved as |
It's not PostGraphile that does this but yes, to make a field use the JSON type in postgres, we need to define it as an entity/type with the |
I had a success with integrating |
@okdas For DevNet/TestNet, would we need to add this to our deployment infra? |
@Olshansk yes - we are going to need to. Not sure if DevNets actually need it but yes for TestNet, 100%. |
@okdas Can you please create a ticket? Just a screen of this convo should suffice. |
Appreciate the separation + update @okdas. Before you head OOO, please link / state the instructions to reproduce. It could be as simple as:
Trying it hands-on and trying to get intuition around the data and what's happening on-chain will be super valuable here. |
## Summary Refactor the foundation for E2E tokenomics observability w/ lots of new data points. Key changes include: - `x/tokenomics` telemetry - Begin/End blockers execution time management - Custom `poktroll` telemetry config in `app.toml` ## Issue - #762 --------- Co-authored-by: Daniel Olshansky <[email protected]>
Objective
Baseline observability to support the effort here and the development efforts by @red-0ne related to permissionless
Origin Document
Goals
Deliverables
Update an existing dashboard (if it's available) or create a new one that contains the following:
Same chart needs to show what the multiplier looks like
Non-goals / Non-deliverables
Creator: @Olshansk
Co-Owners: @okdas @red-0ne
The text was updated successfully, but these errors were encountered: