fix telemetry import (#585)

# What does this PR do?

fix issue

<img width="921" alt="image"
src="https://github.com/user-attachments/assets/26f7499f-fae1-4c93-9de3-1ae7ee7c5144">


## Test Plan

```
llama stack run
```
<img width="657" alt="image"
src="https://github.com/user-attachments/assets/266b6ac2-f991-4b38-841c-2a610b7d9f0f">


## Sources

Please link relevant resources if necessary.


## Before submitting

- [ ] This PR fixes a typo or improves the docs (you can dismiss the
other checks if that's the case).
- [ ] Ran pre-commit to handle lint / formatting issues.
- [ ] Read the [contributor
guideline](https://github.com/meta-llama/llama-stack/blob/main/CONTRIBUTING.md),
      Pull Request section?
- [ ] Updated relevant documentation.
- [ ] Wrote necessary unit or integration tests.
This commit is contained in:
Xi Yan 2024-12-09 11:18:53 -08:00 committed by GitHub
parent a2170353af
commit c699e884b5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -43,9 +43,9 @@ from llama_stack.distribution.stack import (
replace_env_vars,
validate_env_pair,
)
from llama_stack.providers.inline.telemetry.meta_reference import (
from llama_stack.providers.inline.telemetry.meta_reference.config import TelemetryConfig
from llama_stack.providers.inline.telemetry.meta_reference.telemetry import (
TelemetryAdapter,
TelemetryConfig,
)
from .endpoints import get_all_api_endpoints