Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Heroku Telemetry [OpenTelemetry] #214

Open
2 tasks done
elimchaysengSF opened this issue Aug 30, 2023 · 3 comments
Open
2 tasks done

Heroku Telemetry [OpenTelemetry] #214

elimchaysengSF opened this issue Aug 30, 2023 · 3 comments
Assignees

Comments

@elimchaysengSF
Copy link

elimchaysengSF commented Aug 30, 2023

Required Terms

What service(s) is this request for?

Heroku Platform

Tell us about what you're trying to solve. What challenges are you facing?

At Heroku, we have a long history of creating fantastic developer experiences by simplifying development down to an opinionated standardized set of tooling that “just works.” Among that tooling is our logging infrastructure, with its ability to quickly access logs via live Tailing sessions and easily export logs via Log Drains to Logging Add-on Partners.

We already use the OpenTelemetry framework inside Heroku for internal metrics, but OpenTelemetry is more than just metrics. It is the trifecta of Traces, Metrics and Logs.

We should build off of our developer experience and logging infrastructure to deliver telemetry for the Heroku platform and Heroku customers while embracing OpenTelemety and join the growing list of contributors/supporters of the standard.

Please comment below for any specific use-cases, metrics, or suggestions related to upgrading our Telemetry and Observability features to utilize the OpenTelemetry standard!

@stevenharman
Copy link

We also leverage OpenTelemetry (currently for Traces, and some day for Logs and Metrics). One big hole is our Traces only start once a request is "inside" Dyno. i.e., once code that we control is handling it. In the case of a Rails app, this means at the Rails internals, or maybe web server (Puma) level.

That leaves a pretty big blind spot in terms of how the request/response progressed from the Heroku infra on to our code. We'd love to close that hole.

@adamlogic
Copy link

As an add-on provider, here are our two big requests related to logging:

  • We'd love to support our customers who are using Private Space Logging, but currently add-on providers cannot create a log drain for these customers.
  • We'd love to only subscribe to Heroku router logs and runtime metrics logs. App-level logs often contain sensitive info we'd rather not ever see. It would also reduce the burden on our infrastructure if we didn't have all of this unwanted log data flowing in.

@stevenharman
Copy link

  • We'd love to support our customers who are using Private Space Logging, but currently add-on providers cannot create a log drain for these customers.

This one is tricky; the point of Private Space Logging is that ALL log lines for ALL Apps in the PS go to a single drain. It's then that drain's responsibility to figure out if, where, and how to send each log line. Basically, it's up to you to build your own log multiplexer. This is how we handled things internally at Heroku, anyhow.

  • We'd love to only subscribe to Heroku router logs and runtime metrics logs…

Yes, agreed! Being able to specify a set our "sources" for a drain would be 👨‍🍳💋.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 📋 Researching
Development

No branches or pull requests

3 participants