Git Product home page Git Product logo

Comments (1)

ashleymichaelwilliams avatar ashleymichaelwilliams commented on July 17, 2024

I tried disabling Datadog's capabilities (ie. Tracing, profiling, Log Injection) on the Python containers (ads, discount) using the following vars.

          - name: DD_LOGS_INJECTION
            value: "false"
          - name: DD_ANALYTICS_ENABLED
            value: "false"
          - name: DD_PROFILING_ENABLED
            value: "false"
          - name: DD_TRACE_ENABLED
            value: "false"

Seemed to clear up the Connection refused errors I was getting rhe logs.

Found the related event in the container log output, which should give some detail around environment config as well as URI path. 🤷🏼

{"host":"frontend-698c9d7c79-87nss","application":"store-frontend","environment":"development","time":"2021-08-06T07:43:47.172+00:00","level":"ERROR","level_index":2,"pid":7,"thread":"puma 001","duration_ms":100.9218580002198,"duration":"100.9ms","named_tags":{"request_id":"f88f6271-2225-4125-982d-f17d41ac54b0","dd":{"trace_id":"4206246142976581233","span_id":"309354225905811365","env":"development","service":"store-frontend","version":"1.0.1"}},"name":"Spree::OrdersController","message":"Completed #edit","controller":"Spree::OrdersController","action":"edit","format":"HTML","method":"GET","path":"/cart","view_runtime":0.0,"db_runtime":1.47,"exception_object":"undefined method `[]' for nil:NilClass","status":500,"status_message":"Internal Server Error"}

Also when i navigate to the advertisements:5002/ads my browser returns the three items in json to my browser. Seems the flask endpoint is responding just fine.

from ecommerce-workshop.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.