Skip to content

Commit

Permalink
chore: add MaxTimeSeriesInBatch to the printable config for the debug…
Browse files Browse the repository at this point in the history
… purposes
  • Loading branch information
olegbespalov committed Jul 6, 2023
1 parent 7ab37dd commit a2fe0a8
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions output/cloud/expv2/output.go
Original file line number Diff line number Diff line change
Expand Up @@ -346,20 +346,20 @@ func (o *Output) tracingEnabled() bool {

func printableConfig(c cloudapi.Config) map[string]any {
m := map[string]any{
"host": c.Host.String,
"name": c.Name.String,
"timeout": c.Timeout.String(),
"webAppURL": c.WebAppURL.String,
"projectID": c.ProjectID.Int64,
"pushRefID": c.PushRefID.String,
"stopOnError": c.StopOnError.Bool,
"testRunDetails": c.TestRunDetails.String,
"aggregationPeriod": c.AggregationPeriod.String(),
"aggregationWaitPeriod": c.AggregationWaitPeriod.String(),
"maxMetricSamplesPerPackage": c.MaxMetricSamplesPerPackage.Int64,
"metricPushConcurrency": c.MetricPushConcurrency.Int64,
"metricPushInterval": c.MetricPushInterval.String(),
"token": "",
"host": c.Host.String,
"name": c.Name.String,
"timeout": c.Timeout.String(),
"webAppURL": c.WebAppURL.String,
"projectID": c.ProjectID.Int64,
"pushRefID": c.PushRefID.String,
"stopOnError": c.StopOnError.Bool,
"testRunDetails": c.TestRunDetails.String,
"aggregationPeriod": c.AggregationPeriod.String(),
"aggregationWaitPeriod": c.AggregationWaitPeriod.String(),
"maxTimeSeriesInBatch": c.MaxTimeSeriesInBatch.Int64,
"metricPushConcurrency": c.MetricPushConcurrency.Int64,
"metricPushInterval": c.MetricPushInterval.String(),
"token": "",
}

if c.Token.Valid {
Expand Down

0 comments on commit a2fe0a8

Please sign in to comment.