GithubHelp home page GithubHelp logo

Comments (5)

fabxc avatar fabxc commented on July 21, 2024

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.

rakyll avatar rakyll commented on July 21, 2024

/cc @ramonza

from opencensus-website.

semistrict avatar semistrict commented on July 21, 2024

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.

rakyll avatar rakyll commented on July 21, 2024

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.

semistrict avatar semistrict commented on July 21, 2024

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)

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.