Skip to content
This repository has been archived by the owner on Oct 3, 2023. It is now read-only.

User interaction example #83

Merged

Conversation

crdgonzalezca
Copy link
Contributor

This example creates a client in ReactJS and a server in Node js. The client sends two network calls to the Node server, then the client does some calculations and renders the changes.

@codecov-io
Copy link

codecov-io commented May 21, 2019

Codecov Report

Merging #83 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #83   +/-   ##
=======================================
  Coverage   96.45%   96.45%           
=======================================
  Files          26       26           
  Lines         621      621           
  Branches       76       76           
=======================================
  Hits          599      599           
  Misses         22       22

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0c6ad7f...b7eae7a. Read the comment docs.

examples/user_interaction/client/README.md Outdated Show resolved Hide resolved
examples/user_interaction/client/public/index.html Outdated Show resolved Hide resolved
}, (response) => {
let data = [];
response.on('data', chunk => data.push(chunk));
response.on('end', () => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What would you think about making this a separate function to reduce the nesting of the code?

examples/user_interaction/client/src/index.css Outdated Show resolved Hide resolved
examples/user_interaction/client/src/index.js Show resolved Hide resolved
examples/user_interaction/server/server.js Outdated Show resolved Hide resolved
examples/user_interaction/server/server.js Show resolved Hide resolved
examples/user_interaction/server/server.js Outdated Show resolved Hide resolved
examples/user_interaction/server/server.js Outdated Show resolved Hide resolved
examples/user_interaction/server/server.js Outdated Show resolved Hide resolved
@draffensperger draffensperger merged commit 6811634 into census-instrumentation:master May 22, 2019
@crdgonzalezca crdgonzalezca deleted the react_example branch May 22, 2019 15:58
RenaultAI pushed a commit to RenaultAI/opencensus-web that referenced this pull request Nov 20, 2019
Added zPages as the diagnostic helper for the overall
ocagent process itself #inception

By default the zPages run at ":55679/debug". They can be
disabled in the config.yaml file by using the attribute
  `disabled`

```yaml
zpages:
   disabled: true
   port: 8888
```

Also added as an attribute the number of exported spans
for every internal interceptor span.

Fixes census-instrumentation#83
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants