# Licensed to Apache Software Foundation (ASF) under one or more contributor
# license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright
# ownership. Apache Software Foundation (ASF) licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied.  See the License for the
# specific language governing permissions and limitations
# under the License.

# Expected result: service_instance_cpm_minute data with service_id=svc_1
# Note: service_id should NOT be in result (hidden tag stripped)
# Results are sorted by sid, then by timestamp (due to DisOrder: true)
dataPoints:
# sid: 7941974329620232473
- fields:
  - name: total
    value:
      int:
        value: "100"
  - name: value
    value:
      int:
        value: "11"
  tagFamilies:
  - name: default
    tags:
    - key: id
      value:
        str:
          value: "10"
    - key: entity_id
      value:
        str:
          value: entity_3
# sid: 8355698475044176280 (earlier timestamp)
- fields:
  - name: total
    value:
      int:
        value: "100"
  - name: value
    value:
      int:
        value: "1"
  tagFamilies:
  - name: default
    tags:
    - key: id
      value:
        str:
          value: "3"
    - key: entity_id
      value:
        str:
          value: entity_1
# sid: 8355698475044176280 (later timestamp)
- fields:
  - name: total
    value:
      int:
        value: "300"
  - name: value
    value:
      int:
        value: "6"
  tagFamilies:
  - name: default
    tags:
    - key: id
      value:
        str:
          value: "3"
    - key: entity_id
      value:
        str:
          value: entity_1
# sid: 11136573860836752918 (earlier timestamp)
- fields:
  - name: total
    value:
      int:
        value: "100"
  - name: value
    value:
      int:
        value: "9"
  tagFamilies:
  - name: default
    tags:
    - key: id
      value:
        str:
          value: "5"
    - key: entity_id
      value:
        str:
          value: entity_2
# sid: 11136573860836752918 (later timestamp)
- fields:
  - name: total
    value:
      int:
        value: "100"
  - name: value
    value:
      int:
        value: "3"
  tagFamilies:
  - name: default
    tags:
    - key: id
      value:
        str:
          value: "5"
    - key: entity_id
      value:
        str:
          value: entity_2
