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
When using the telemetry config section, mdatagen outputs code that does not compile due to missing or extra imports.
Steps to reproduce
Run mdatagen on any module that defines an internal telemetry config section.
What version did you use?
0.114.0
What config did you use?
telemetry:
metrics:
batch_size_trigger_send:
enabled: truestability:
level: deprecatedfrom: v0.110.0description: Number of times the batch was sent due to a size triggerunit: "{times}"sum:
value_type: intmonotonic: truerequest_duration:
enabled: truestability:
level: alphadescription: Duration of requestunit: shistogram:
value_type: doublebucket_boundaries: [1, 10, 100]process_runtime_total_alloc_bytes:
enabled: truestability:
level: stabledescription: Cumulative bytes allocated for heap objects (see 'go doc runtime.MemStats.TotalAlloc')unit: Bysum:
async: truevalue_type: intmonotonic: truequeue_length:
enabled: truedescription: This metric is optional and therefore not initialized in NewTelemetryBuilder.extended_documentation: For example this metric only exists if feature A is enabled.unit: "{items}"optional: truegauge:
async: truevalue_type: int
The text was updated successfully, but these errors were encountered:
Describe the bug
When using the
telemetry
config section, mdatagen outputs code that does not compile due to missing or extra imports.Steps to reproduce
Run
mdatagen
on any module that defines an internal telemetry config section.What version did you use?
0.114.0
What config did you use?
The text was updated successfully, but these errors were encountered: