Scale3-Labs / langtrace

Langtrace 🔍 is an open-source, Open Telemetry based end-to-end observability tool for LLM applications, providing real-time tracing, evaluations and metrics for popular LLMs, LLM frameworks, vectorDBs and more.. Integrate using Typescript, Python. 🚀💻📊
https://langtrace.ai
GNU Affero General Public License v3.0
569 stars 57 forks source link

Error when cloning and running docker-compose build #350

Open DinisCruz opened 2 hours ago

DinisCruz commented 2 hours ago

Hi, I was trying to run Langtrace locally and got this error when doing docker compose build

services.langtrace-app.depends_on.postgres-db Additional property required is not allowed
alizenhom commented 2 hours ago

Hey @DinisCruz , apologies for the issue you're facing, can you try running docker compose up, you should see all services spinning up if not kindly confirm i will be more than happy to help also do you need the build step for a specific use case?

DinisCruz commented 2 hours ago

ok, to make it work I had to comment these:

    depends_on:
      postgres-db:
        condition: service_started
        #required: true
      clickhouse-db:
        condition: service_healthy
        #required: true

and this

     #start_interval: 5s

I also had this weird error

docker compose up                                          
[+] Running 3/0
 ⠿ Container langtrace-postgres    Created                                                                                                                                                                           0.0s
 ⠿ Container langtrace-clickhouse  Created                                                                                                                                                                           0.0s
 ⠿ Container langtrace             Created                                                                                                                                                                           0.0s
Error response from daemon: Conflict. The container name "/langtrace" is already in use by container "367ca99dc2ad6c63d9cb5241c75b4ae96c9086d7fef39b5b3beec786f1e0b316". You have to remove (or rename) that container to be able to reuse that name.

which was caused by

    restart: on-failure:5

starting the services manually did the trick

image
DinisCruz commented 2 hours ago

one more question: in the UI what does "0 out of 50,000 per month" mean?

is that 50k the limit of this open source version?

alizenhom commented 1 hour ago

@DinisCruz mmm, ok i see and i think i have a theory.

if you deleted all previous images and started from scratch everything should work smoothly, kindly if you can try it out and confirm that would be great

regarding the quota - don't worry if you're self-hosting there will be no limits