Commit Graph

6 Commits

Author SHA1 Message Date
Bogdan Drutu 9ea2f531f5
Remove deprecated LeveledMeter from the generated code (#11696)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2024-11-19 10:50:15 -08:00
Bogdan Drutu 8e522ad950
Revert public API changes in #10931, preserve logic (#11415)
This PR removes APIs that expose `configtelemetry.Level`. Internal
functionality still uses the Level, but will be soon changed to use the
new Instrument.Enabled.

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2024-11-15 16:49:51 -08:00
Bogdan Drutu 2076448c28
Add newTelemetrySettings to be generated all the time even for pkg class (#11535)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
Co-authored-by: Alex Boten <223565+codeboten@users.noreply.github.com>
2024-10-25 11:33:28 -07:00
Alex Boten 070e85522e
[mdatagen] add LeveledMeter method (#10933)
This will use the LeveledMeterProvider in TelemetrySettings.
    
Split from
https://github.com/open-telemetry/opentelemetry-collector/pull/10912,
follows #10931

---------

Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
2024-08-21 08:05:13 -07:00
Alex Boten 9907ba50df
[processor] deprecate CreateSettings -> Settings (#10336)
This deprecates CreateSettings in favour of Settings.
NewNopCreateSettings is also being deprecated in favour of
NewNopSettings
    
Part of #9428

---------

Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
2024-06-06 09:34:53 -07:00
Alex Boten 29402267eb
[mdatagen] generate utility code to test telemetry (#10212)
This will allow components to more easily test the telemetry they should
be emitting.

---------

Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
2024-05-27 09:09:35 -07:00