Class ProfilerService (1.2.0)

public static class ProfilerService

Manage the collection of continuous profiling data provided by profiling agents running in the cloud or by an offline provider of profiling data.

General guidelines:

  • Profiles for a single deployment must be created in ascending time order.
  • Profiles can be created in either online or offline mode, see below.

Inheritance

Object > ProfilerService

Namespace

Google.Cloud.Profiler.V2

Assembly

Google.Cloud.Profiler.V2.dll

Methods

BindService(ProfilerService.ProfilerServiceBase)

public static ServerServiceDefinition BindService(ProfilerService.ProfilerServiceBase serviceImpl)

Creates service definition that can be registered with a server

Parameter
NameDescription
serviceImplProfilerService.ProfilerServiceBase

An object implementing the server-side handling logic.

Returns
TypeDescription
ServerServiceDefinition

BindService(ServiceBinderBase, ProfilerService.ProfilerServiceBase)

public static void BindService(ServiceBinderBase serviceBinder, ProfilerService.ProfilerServiceBase serviceImpl)

Register service method with a service binder with or without implementation. Useful when customizing the service binding logic. Note: this method is part of an experimental API that can change or be removed without any prior notice.

Parameters
NameDescription
serviceBinderServiceBinderBase

Service methods will be bound by calling AddMethod on this object.

serviceImplProfilerService.ProfilerServiceBase

An object implementing the server-side handling logic.