Skip to content

Standardize Time in SkyWalking #2560

@wu-sheng

Description

@wu-sheng

Hi

Today, SkyWalking time mechanism relied on the agent, backend, and UI in the same time zone, but still facing issues. Because of the time in agent traces, it is hard to make it accurate in the query.

In 6.2, I want to do this, which related to agent, backend and UI changes.

  1. Agent reports its timezone in register and heartbeat, in default, treated as backend timezone for back-forward compatible. But I hope Java, .net, nodejs, php, go agents could adopte this. @ascrutae @liuhaoyang @hanahmily @heyanlong
  2. Service Mesh receiver, especially istio and envoy receiver need to transfer time based on timezone in the timestamp. @hanahmily
  3. OAP backend will transfer time format to UTC-0 always and save in storage.
  4. OAP query parameter and result are all based on UTC-0, UI needs to change time visualization based on browser timezone. Also, because of this, I think no need to choose timezone anymore. @TinyAllen

Metadata

Metadata

Labels

core featureCore and important feature. Sometimes, break backwards compatibility.questionEnd user question and discussion.

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions