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

FEAT: Support events #916

Merged
merged 4 commits into from
Jan 23, 2024
Merged

FEAT: Support events #916

merged 4 commits into from
Jan 23, 2024

Conversation

codingl2k1
Copy link
Contributor

@codingl2k1 codingl2k1 commented Jan 22, 2024

  • Add a router to the restful api: /v1/models/{model_uid}/events
  • Example of the query result:
[
  {
    "event_type": "INFO",
    "event_ts": 1705905654,
    "event_content": "Launch model"
  },
  {
    "event_type": "ERROR",
    "event_ts": 1705905669,
    "event_content": "Remote server 127.0.0.1:49371 closed"
  },
  {
    "event_type": "INFO",
    "event_ts": 1705905670,
    "event_content": "Terminate model"
  }
]

@XprobeBot XprobeBot added this to the v0.8.2 milestone Jan 22, 2024
@codingl2k1 codingl2k1 marked this pull request as ready for review January 22, 2024 07:03
@aresnow1 aresnow1 merged commit 2e2d317 into xorbitsai:main Jan 23, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants