EinStack / glide

🐦 A open blazing-fast simple model gateway for rapid development of production GenAI apps
https://docs.einstack.ai/glide/
Apache License 2.0
127 stars 20 forks source link

🔧 [Telemetry] Allow to pass Glide resource attributes #241

Closed roma-glushko closed 4 months ago

roma-glushko commented 4 months ago

It should be possible to override Glide resource attributes.

This is the way it's done in OTEL Collector: https://github.com/open-telemetry/opentelemetry-collector/blob/76b017d2ff4234abdbb8ed2b257dece7f44268d7/service/telemetry/config.go#L26

Glide should fill the required fields like service name, version, instanceID automatically if they are not overriden via the config.