Replies: 1 comment 5 replies
-
|
Hello, looks like litellm requires the OPENMETER_API_KEY env var: Try filling a random value: |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Sorry if this is a silly question.
We have self-hosted LiteLLM and self-hosted Openmeter and we want to send the events of LiteLLM to Openmeter so we can track costing.
I'm a little confused how this works.
For self-hosted Openmeter, where do you get the API key from? Do you still need to point the self-hosted Openmeter to the cloud?
It seems so, as the LiteLLM docs here even say to sign up for an Openmeter API key - is that correct?
LiteLLM Openmeter docs - https://docs.litellm.ai/docs/observability/openmeter
I thought that with self-hosted Openmeter the OPENMETER_BASE_URL points to the self-hosted instance and the OPENMETER_API_KEY, I have no idea where to get that? I left it blank and pointed the OPENMETER_BASE_URL to my instance, but it doesn't work.
I get this error:
Error initializing custom logger: Missing keys=['OPENMETER_API_KEY'] in environment
I can only get it to work if the OPENMETER_BASE_URL is pointing to Openmeter Cloud and I have an API key from there.
But if that is how it works, why would you need a self-hosted version?
Can someone kindly help me out here to get my self-hosted version working?
Kind regards.
Beta Was this translation helpful? Give feedback.
All reactions