Skip to content
This repository has been archived by the owner on Dec 6, 2024. It is now read-only.

zPages proposal #110

Merged
merged 7 commits into from
Jun 9, 2020
Merged
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions text/0110-z-pages.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# zPages: general direction (#110)

Make zPages a standard OpenTelemetry component.

## Motivation

ZPages or self-introspection debug pages are in-process web pages that display collected data from the process they are attached to. They are used to provide in-process diagnostics without the need of any backend to examine traces or metrics. Various implementations of zPages are widely used in many environments. The standard extensible implementation of zPages in OpenTelemetry will benefit everybody.
SergeyKanzhelev marked this conversation as resolved.
Show resolved Hide resolved

## Explanation

This OTEP is a request to get a general approval for zPages development as an experimental feature [open-telemetry/opentelemetry-specification#62](https://github.com/open-telemetry/opentelemetry-specification/pull/632). See [opencensus.io/zpages](https://opencensus.io/zpages/) for the overview of zPages.
SergeyKanzhelev marked this conversation as resolved.
Show resolved Hide resolved

## Internal details

This is a request for a general direction approval. There are a few principles for the development:

1. ZPages framework MUST NOT be hardcoded into OpenTelemetry SDK.
SergeyKanzhelev marked this conversation as resolved.
Show resolved Hide resolved
2. OpenTelemetry implementation MUST be implemented as two separate components - one for data, another for rendering. So that, for example, data providers could be also integrated into other rendering frameworks.
3. ZPages framework SHOULD provide a way to extend information exposed from the process. Ideally all the way to replace OpenTelemetry SDK with alternative source of information.

## Trade-offs and mitigations

We may discover that implementation of zPages as a vendor-specific or user-specific plugins may be preferable. Based on initial investigation, extensible standard implementation will benefit everybody.

## Prior art and alternatives

[opencensus.io/zpages](https://opencensus.io/zpages/)

## Open questions

N/A

## Future possibilities

N/A