Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ENHANCEMENT] phoenix as standalone server like skywalking, application send data to phoenix server, phoenix server persistent the data to database #1976

Closed
jiangying000 opened this issue Dec 19, 2023 · 5 comments
Labels
enhancement New feature or request

Comments

@jiangying000
Copy link

Is your feature request related to a problem? Please describe.
I want to use phoenix as standalone server like skywalking, applications send data to phoenix server, phoenix server persistents the data to database and serves query

Describe the solution you'd like

Describe alternatives you've considered

Additional context
I am using fastapi as application server, the integration is easy, but can not seperate them

@jiangying000 jiangying000 added enhancement New feature or request triage issues that need triage labels Dec 19, 2023
@github-project-automation github-project-automation bot moved this to 📘 Todo in phoenix Dec 19, 2023
@axiomofjoy
Copy link
Contributor

Hey @jiangying000, we are beginning work on persistence here. Can you tell us more about what you like about the Apache Skywalker experience?

I am using fastapi as application server, the integration is easy, but can not seperate them

Is the issue you are referring to that Phoenix must be running on the same server as your application?

@jiangying000
Copy link
Author

Hey @jiangying000, we are beginning work on persistence here. Can you tell us more about what you like about the Apache Skywalker experience?

I am using fastapi as application server, the integration is easy, but can not seperate them

Is the issue you are referring to that Phoenix must be running on the same server as your application?

I want to run them on different servers, one as application server, I have a cluster of application servers. the phoenix deployed on other machine as monitor or data collection server. cluster of application servers send data to phoenix

@axiomofjoy
Copy link
Contributor

I followed up with @jiangying000. The relevant code snippet for LangChain in particular is:

from phoenix.trace.langchain import LangChainInstrumentor, OpenInferenceTracer
from phoenix.trace.exporter import HttpExporter

exporter = HttpExporter(endpoint="http://127.0.0.1:6006")  # change this url
tracer = OpenInferenceTracer(exporter)
LangChainInstrumentor(tracer=tracer).instrument()

@axiomofjoy
Copy link
Contributor

Persistence is in the works.

@axiomofjoy axiomofjoy removed the triage issues that need triage label Dec 20, 2023
@mikeldking
Copy link
Contributor

Persistance is live in 4.0.0!

@github-project-automation github-project-automation bot moved this from 📘 Todo to ✅ Done in phoenix May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Archived in project
Development

No branches or pull requests

3 participants