OpenTelemetry Collector Data v2 Example

Here is an example of a jitter metric:

{
  resource_metrics {
    resource {
      attributes {
        key: "thousandeyes.stream.id"
        value {
          string_value: "16fedf53-93d6-4f32-a3b6-4e3dd90ebc5d"
        }
      }
      attributes {
        key: "thousandeyes.test.domain"
        value {
          string_value: "cea"
        }
      }
      attributes {
        key: "thousandeyes.test.id"
        value {
          int_value: 244002
        }
      }
      attributes {
        key: "thousandeyes.test.name"
        value {
          string_value: "Demo test"
        }
      }
      attributes {
        key: "thousandeyes.test.type"
        value {
          string_value: "angent-to-server"
        }
      }
      attributes {
        key: "server.address"
        value {
          string_value: "c.iana-servers.net"
        }
      }
      attributes {
        key: "server.port"
        value {
          int_value: 80
        }
      }
      attributes {
        key: "network.transport"
        value {
          string_value: "tcp"
        }
      }
      attributes {
        key: "otel-label-acc-101920-0"
        value {
          string_value: "otel-label-acc-101920-0-value-2"
        }
      }
      attributes {
        key: "otel-label-acc-101920-1"
        value {
          string_value: "otel-label-acc-101920-1-value"
        }
      }
      attributes {
        key: "thousandeyes.source.agent.id"
        value {
          int_value: 27820
        }
      }
      attributes {
        key: "thousandeyes.source.agent.name"
        value {
          string_value: "cea-14961"
        }
      }
      attributes {
        key: "thousandeyes.source.agent.location"
        value {
          string_value: "San Francisco, California, US"
        }
      }
      attributes {
        key: "thousandeyes.data.version"
        value {
          string_value: "v2"
        }
      }
    }
    scope_metrics {
      scope {}
      metrics {
        name: "network.jitter"
        description: "Network metrics jitter"
        unit: "ms"
        gauge {
          data_points {
            time_unix_nano: 1691060100306000000
            as_double: 0.8775854623129539
            attributes {
              key: "thousandeyes.permalink"
              value {
                string_value: "https://app.stg.thousandeyes.com/net/metrics?__a=101920&testId=244002"
              }
            }
          }
        }
      }
    }
  }
}

Last updated