Commit Graph

7 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 2748e5358d
[chore] Use NopTelemetrySettings instead of mock providers (#11539)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2024-10-25 14:57:43 -07:00
Bogdan Drutu 8a070097ec
[mdatagen] Avoid public APIs with internal params (#11040)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2024-09-13 09:37:43 -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 a2289fd910
[service] use mdatagen for service metrics (#10273)
This reverts the reverts
https://github.com/open-telemetry/opentelemetry-collector/pull/10271 and
adds a mechanism to skip adding a create settings method for the service
package component test. Will need to figure out if
servicetelemetry.TelemetrySettings should be renamed to fit w/ the other
CreateSettings structs before removing this check.

Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
2024-06-10 09:04:29 -07:00
Alex Boten 1749a8f19d
Revert "[chore] use mdatagen to generate service metrics (#10160)" (#10271)
This reverts commit 10bcef33e6.
2024-05-30 11:45:17 -07:00
Alex Boten 10bcef33e6
[chore] use mdatagen to generate service metrics (#10160)
This PR follows
https://github.com/open-telemetry/opentelemetry-collector/pull/10159 and
uses the new mdatagen functionality to generate async metrics in the
service.

---------

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