All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.wavefront.sdk.entities.tracing.SpanLog Maven / Gradle / Ivy

package com.wavefront.sdk.entities.tracing;

import java.util.Map;

/**
 * SpanLog defined as per the opentracing.io specification
 *
 * @author Sushant Dewan ([email protected]).
 * @version $Id: $Id
 */
public class SpanLog {
  // expected to be in micros
  private final long timestamp;
  private final Map fields;

  /**
   * 

Constructor for SpanLog.

* * @param timestamp a long * @param fields a {@link java.util.Map} object */ public SpanLog(long timestamp, Map fields) { this.timestamp = timestamp; this.fields = fields; } /** *

Getter for the field timestamp.

* * @return a long */ public long getTimestamp() { return timestamp; } /** *

Getter for the field fields.

* * @return a {@link java.util.Map} object */ public Map getFields() { return fields; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy