Skip to content
This repository was archived by the owner on Jul 31, 2023. It is now read-only.
This repository was archived by the owner on Jul 31, 2023. It is now read-only.

Can kDelta views be registered for export #456

Description

@zhongchun

In the view_descriptor.cc, we can see like this:

void ViewDescriptor::RegisterForExport() const {
  if (aggregation_window_.type() == AggregationWindow::Type::kCumulative) {
    StatsExporterImpl::Get()->AddView(*this);
  } else {
    std::cerr << "Only cumulative views may be registered for export.\n";
  }
}

Only cumulative views may be registered for export.
I modify this and find kDelta views can be registered for export and work well.
So i am a little confused, why opencensus don't support kDelta views to report.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions