integrations-core
integrations-core copied to clipboard
[BUG] Prometheus and OpenMetrics metrics collection always uses Basic auth
Summary
The server_definitions RPC returns all the fields, transaction types, ledger entry types, etc. that the server knows about. This issue suggests adding the transaction formats and ledger formats to this RPC as well.
Motivation
This will provide a canonical source of truth for the transactions and ledger entry type fields.
Solution
Amend the server_definitions
RPC to include this info.
Paths Not Taken
You can parse source code as-is (for example, this script in xrpl.js does so). There may be an OpenAPI-related path as well.