com.microsoft.tfs.core.telemetry
Class TfsTelemetryInstrumentationInfo

java.lang.Object
  extended by com.microsoft.tfs.core.telemetry.TfsTelemetryInstrumentationInfo

public abstract class TfsTelemetryInstrumentationInfo
extends java.lang.Object

Get Telemetry information

This class is for internal use only.

Thread-safety:
thread-safe

Field Summary
static java.lang.String TELEMETRY_INSTRUMENTATION_PROPERTIES_RESOURCE
          This resource should contain all telemetry information.
 
Constructor Summary
TfsTelemetryInstrumentationInfo()
           
 
Method Summary
static java.lang.String getClcInstrumentationKey()
           
static java.lang.String getTeeInstrumentationKey()
           
static boolean isDeveloperMode()
           
static boolean isTestKey()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TELEMETRY_INSTRUMENTATION_PROPERTIES_RESOURCE

public static final java.lang.String TELEMETRY_INSTRUMENTATION_PROPERTIES_RESOURCE
This resource should contain all telemetry information.

There are two properties: telemetry.instrumentation.is_test_environment telemetry.instrumentation.is_developer_mode

If "is_test_environment" resolves to false, "is_developer_mode" will be ignored

Default to "is_test_environment" to false in case this file does not exist

Constant Field Value:
"/com.microsoft.tfs.core-telemetry.properties"
See Also:
Constant Field Values
Constructor Detail

TfsTelemetryInstrumentationInfo

public TfsTelemetryInstrumentationInfo()
Method Detail

isDeveloperMode

public static boolean isDeveloperMode()

isTestKey

public static boolean isTestKey()

getTeeInstrumentationKey

public static java.lang.String getTeeInstrumentationKey()

getClcInstrumentationKey

public static java.lang.String getClcInstrumentationKey()


© 2015 Microsoft. All rights reserved.