Add stringdocs to config props and generate docs
This commit is contained in:
parent
45bb8c3ebf
commit
3433fa4a6e
@ -531,19 +531,30 @@ Type: Array of multiaddress peerinfo strings, must include peerid (/p2p/12D3K...
|
|||||||
Name: "JsonTracer",
|
Name: "JsonTracer",
|
||||||
Type: "string",
|
Type: "string",
|
||||||
|
|
||||||
Comment: ``,
|
Comment: `Path to file that will be used to output tracer content in JSON format.
|
||||||
|
If present tracer will save data to defined file.
|
||||||
|
Format: file path`,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
Name: "ElasticSearchTracer",
|
Name: "ElasticSearchTracer",
|
||||||
Type: "string",
|
Type: "string",
|
||||||
|
|
||||||
Comment: ``,
|
Comment: `Connection string for elasticsearch instance.
|
||||||
|
If present tracer will save data to elasticsearch.
|
||||||
|
Format: https://<username>:<password>@<elasticsearch_url>:<port>/`,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
Name: "ElasticSearchIndex",
|
||||||
|
Type: "string",
|
||||||
|
|
||||||
|
Comment: `Name of elasticsearch index that will be used to save tracer data.
|
||||||
|
This property is used only if ElasticSearchTracer propery is set.`,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
Name: "TracerSourceAuth",
|
Name: "TracerSourceAuth",
|
||||||
Type: "string",
|
Type: "string",
|
||||||
|
|
||||||
Comment: ``,
|
Comment: `Auth token that will be passed with logs to elasticsearch - used for weighted peers score.`,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"RetrievalPricing": []DocField{
|
"RetrievalPricing": []DocField{
|
||||||
|
@ -309,10 +309,19 @@ type Pubsub struct {
|
|||||||
DirectPeers []string
|
DirectPeers []string
|
||||||
IPColocationWhitelist []string
|
IPColocationWhitelist []string
|
||||||
RemoteTracer string
|
RemoteTracer string
|
||||||
JsonTracer string
|
// Path to file that will be used to output tracer content in JSON format.
|
||||||
ElasticSearchTracer string
|
// If present tracer will save data to defined file.
|
||||||
ElasticSearchIndex string
|
// Format: file path
|
||||||
TracerSourceAuth string
|
JsonTracer string
|
||||||
|
// Connection string for elasticsearch instance.
|
||||||
|
// If present tracer will save data to elasticsearch.
|
||||||
|
// Format: https://<username>:<password>@<elasticsearch_url>:<port>/
|
||||||
|
ElasticSearchTracer string
|
||||||
|
// Name of elasticsearch index that will be used to save tracer data.
|
||||||
|
// This property is used only if ElasticSearchTracer propery is set.
|
||||||
|
ElasticSearchIndex string
|
||||||
|
// Auth token that will be passed with logs to elasticsearch - used for weighted peers score.
|
||||||
|
TracerSourceAuth string
|
||||||
}
|
}
|
||||||
|
|
||||||
type Chainstore struct {
|
type Chainstore struct {
|
||||||
|
Loading…
Reference in New Issue
Block a user