Comments (1)
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)
- Discount codes should work HOT 3
- Tracer contexts are not working in logs
- update logging configuration in store-frontend so that Ruby intergration pipeline can be used as is HOT 5
- ARM build support
- discounts-service or discounts in the k8s yaml files HOT 1
- RUM config `env` value should come from environment var HOT 1
- Auto-generate RUM data HOT 5
- Problems building store-frontend-broken-no-instrumentation HOT 1
- Expose and increase Shopping Cart functionality
- RUM not working HOT 2
- Hardcoded agent on localhost in advertisements and discounts HOT 3
- Make ads and discounts services XHR compatible HOT 1
- Add to cart does not work in embedded synthetic browser test recorder HOT 2
- Update ddtrace in discounts and ads services to latest
- Update ddtrace Gem in storefornt to lates tversion
- Unable to export profile: ddtrace.profiling.exporter.ExportError: HTTP Error 403
- ECS example: Error loading the 'postgresql' Active Record adapter HOT 1
- Unable to deploy storedog Application HOT 4
- Unable to deploy Store Fronted Application
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ecommerce-workshop.