Comments (5)
Go's ochttp
also seems to provide different views by default for the same measure, rather than exporting at the maximum granularity and leaving aggregation to the the backend.
I can see this having certain benefits, but an official motivation and recommendations on when and how to use it would help here as well.
from opencensus-website.
/cc @ramonza
from opencensus-website.
The default HTTP views are really not very useful IMO. We deliberately exclude all tags that even potentially have high cardinality, erring on the side of safety. I think almost all users will want to define their own fine-grained views that include things like path and host tags.
On the more general point of providing guidelines on what how to create measures, views and tags I absolutely agree that we need more guidance. I think the situation is worse with the stats package than tracing because it's more unusual and there are more concepts in play.
from opencensus-website.
The default HTTP views are really not very useful IMO.
This is very confusing given we suggest our users to register to these views given they don't always know what to collect from HTTP requests. If the default HTTP views are not useful, then why do we have them in the ochttp package in the first place?
from opencensus-website.
I think they were initially useful when they included the path and the host header. But since we had to remove those over cardinality concerns I don't think they are the most useful way to instrument most HTTP servers (at least the kinds that I have worked on in the past).
If through application-specific knowledge, you know that the path and host header will be low cardinality (as is the case most of the time) then I would probably recommend creating views that include these tags.
I would love to be able to provide useful HTTP views by default. But I just don't see how we can do that without making stronger assumptions about the application. I think we do our users a disservice by saying "these are the essential views you should install" because then they might not go through the process of thinking about what their application really needs.
from opencensus-website.
Related Issues (20)
- agent/exporters/kafka: update and enhance Apache Kafka page with visuals and other comments
- Update .Net information
- Add proper gRPC integration guide for Node.js
- Java Tracing Quickstart refers to example repo 404 Not found HOT 4
- exporters/elasticsearch: document Java exporter
- agent: Add tutorial on exporting to Local Forwarder. HOT 11
- integrations/gcp/bigtable: duplicated Go adminClient creation
- Create FAQ section
- exporters: Python Stackdriver Trace Exporter documentation is now outdated HOT 1
- Documentation on tag key restrictions do not match Stackdriver. HOT 1
- Go http server example code does not include Zipkin initialization HOT 1
- service/exporters: Add Wavefront tutorial.
- Unclear description of exporter HOT 3
- Add section on how to add attributes to spans
- [Python] metrics sample errors
- Unable to install Go library due to SSL certificate issue HOT 2
- Changes in this repo are not deployed to opencensus.io HOT 4
- The position of banner "OpenTelemetry merger" seems off HOT 2
- grpc: Java documentation needs update HOT 1
- integrations/gcp/bigtable: the integration guide should register gRPC metrics
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 opencensus-website.