You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Configuration for the optional secondary network this agent will publish data to. In most cases this should be a Solana endpoint. The options correspond to the ones in primary_network
153
-
# [secondary_network]
93
+
## Metrics server section ##
154
94
155
-
# Configuration for the JRPC API
156
-
[pythd_adapter]
95
+
# [metrics_server]
96
+
#
97
+
# Where to serve the quick-access dashboard and metrics. Metrics live under "/metrics"
98
+
# NOTE: non-loopback addresses must be used carefully, making sure the
99
+
# connection is not exposed for unauthorized access.
100
+
# bind_address = "127.0.0.1:8888"
101
+
102
+
## Remote keypair loader section. ##
103
+
104
+
# [remote_keypair_loader}
105
+
# Where to serve the remote keypair loading endpoint, under
106
+
# "/primary/load_keypair" and "/secondary/load_keypair".
107
+
#
108
+
# NOTE: non-loopback addresses must be used carefully, making sure the
109
+
# connection is not exposed for unauthorized access.
110
+
# bind_address = "127.0.0.1:9001"
111
+
112
+
# How much whole SOL must a keypair hold to be considered valid for
113
+
# use on a given network. Disabled with 0.
114
+
# primary_min_keypair_balance_sol = 1
115
+
# secondary_min_keypair_balance_sol = 1
116
+
117
+
118
+
## Channel capacities section. ##
119
+
120
+
# These refer to async messaging channels
121
+
# internally used by the agent's subroutines
122
+
123
+
# [channel_capacities]
124
+
# Capacity of the channel used to broadcast shutdown events to all
125
+
# components
126
+
# shutdown = 10000
127
+
128
+
# Capacity of the channel used to send updates from the primary Oracle
129
+
# to the Global Store
130
+
# primary_oracle_updates = 10000
131
+
132
+
# Capacity of the channel used to send updates from the secondary
133
+
# Oracle to the Global Store
134
+
# secondary_oracle_updates = 10000
135
+
136
+
# Capacity of the channel the Pythd API Adapter uses to send lookup
137
+
# requests to the Global Store
138
+
# global_store_lookup = 10000
139
+
140
+
# Capacity of the channel the Pythd API Adapter uses to communicate
141
+
# with the Local Store
142
+
# local_store_lookup = 10000
143
+
144
+
# Capacity of the channel on which the Local Store receives messages
145
+
# local_store = 10000
146
+
147
+
# Capacity of the channel on which the Pythd API Adapter receives
148
+
# messages
149
+
# pythd_adapter = 10000
150
+
151
+
# Capacity of the slog logging channel. Adjust this value if you see
152
+
# complaints about channel capacity from slog
153
+
# logger_buffer = 10000
154
+
155
+
156
+
## JRPC API config section. ##
157
+
158
+
# [pythd_adapter]
157
159
# The duration of the interval at which `notify_price_sched` notifications will be sent.
158
160
# Note that this doesn't affect the rate at which transactions are published:
159
161
# this is soley a backwards-compatibility API feature.
160
162
# notify_price_sched_interval_duration = "1s"
163
+
164
+
## Optional secondary network section ##
165
+
166
+
# Configuration for the optional secondary network this agent will
167
+
# publish data to. In most cases this should be a Solana endpoint. The
168
+
# options correspond to the ones in primary_network
0 commit comments