github.com/observiq/bindplane-agent@v1.51.0/internal/report/snapshot/testdata/metrics/before/host-metrics.yaml (about)

     1  resourceMetrics:
     2    - resource:
     3        attributes:
     4          - key: host.name
     5            value:
     6              stringValue: Brandons-Awesome-Linux-Machine
     7          - key: os.type
     8            value:
     9              stringValue: linux
    10          - key: extra-resource-attr-key
    11            value:
    12              stringValue: extra-resource-attr-value
    13      schemaUrl: https://opentelemetry.io/schemas/1.9.0
    14      scopeMetrics:
    15        - metrics:
    16            - description: Average CPU Load over 1 minute.
    17              gauge:
    18                dataPoints:
    19                  - asDouble: 3.71484375
    20                    startTimeUnixNano: "1000000"
    21                    timeUnixNano: "2000000"
    22                    attributes:
    23                      - key: cool-attribute-key
    24                        value:
    25                          stringValue: cool-attribute-value
    26              name: system.cpu.load_average.1m
    27              unit: "{thread}"
    28          scope:
    29            name: otelcol/hostmetricsreceiver/load
    30            version: v1.43.0
    31    - resource:
    32        attributes:
    33          - key: host.name
    34            value:
    35              stringValue: Brandons-MBP
    36          - key: os.type
    37            value:
    38              stringValue: darwin
    39      schemaUrl: https://opentelemetry.io/schemas/1.9.0
    40      scopeMetrics:
    41        - metrics:
    42            - description: Filesystem bytes used.
    43              name: system.filesystem.usage
    44              sum:
    45                aggregationTemporality: 2
    46                dataPoints:
    47                  - asInt: "503869440"
    48                    attributes:
    49                      - key: device
    50                        value:
    51                          stringValue: /dev/disk2s1
    52                      - key: mode
    53                        value:
    54                          stringValue: rw
    55                      - key: mountpoint
    56                        value:
    57                          stringValue: /System/Volumes/iSCPreboot
    58                      - key: state
    59                        value:
    60                          stringValue: free
    61                      - key: type
    62                        value:
    63                          stringValue: apfs
    64                    startTimeUnixNano: "1000000"
    65                    timeUnixNano: "2000000"
    66                  - asInt: "0"
    67                    attributes:
    68                      - key: device
    69                        value:
    70                          stringValue: /dev/disk2s1
    71                      - key: mode
    72                        value:
    73                          stringValue: rw
    74                      - key: mountpoint
    75                        value:
    76                          stringValue: /System/Volumes/iSCPreboot
    77                      - key: state
    78                        value:
    79                          stringValue: reserved
    80                      - key: type
    81                        value:
    82                          stringValue: apfs
    83                    startTimeUnixNano: "1000000"
    84                    timeUnixNano: "2000000"
    85                  - asInt: "20418560"
    86                    attributes:
    87                      - key: device
    88                        value:
    89                          stringValue: /dev/disk2s1
    90                      - key: mode
    91                        value:
    92                          stringValue: rw
    93                      - key: mountpoint
    94                        value:
    95                          stringValue: /System/Volumes/iSCPreboot
    96                      - key: state
    97                        value:
    98                          stringValue: used
    99                      - key: type
   100                        value:
   101                          stringValue: apfs
   102                    startTimeUnixNano: "1000000"
   103                    timeUnixNano: "2000000"
   104                  - asInt: "503869440"
   105                    attributes:
   106                      - key: device
   107                        value:
   108                          stringValue: /dev/disk2s2
   109                      - key: mode
   110                        value:
   111                          stringValue: rw
   112                      - key: mountpoint
   113                        value:
   114                          stringValue: /System/Volumes/xarts
   115                      - key: state
   116                        value:
   117                          stringValue: free
   118                      - key: type
   119                        value:
   120                          stringValue: apfs
   121                    startTimeUnixNano: "1000000"
   122                    timeUnixNano: "2000000"
   123                  - asInt: "0"
   124                    attributes:
   125                      - key: device
   126                        value:
   127                          stringValue: /dev/disk2s2
   128                      - key: mode
   129                        value:
   130                          stringValue: rw
   131                      - key: mountpoint
   132                        value:
   133                          stringValue: /System/Volumes/xarts
   134                      - key: state
   135                        value:
   136                          stringValue: reserved
   137                      - key: type
   138                        value:
   139                          stringValue: apfs
   140                    startTimeUnixNano: "1000000"
   141                    timeUnixNano: "2000000"
   142                  - asInt: "20418560"
   143                    attributes:
   144                      - key: device
   145                        value:
   146                          stringValue: /dev/disk2s2
   147                      - key: mode
   148                        value:
   149                          stringValue: rw
   150                      - key: mountpoint
   151                        value:
   152                          stringValue: /System/Volumes/xarts
   153                      - key: state
   154                        value:
   155                          stringValue: used
   156                      - key: type
   157                        value:
   158                          stringValue: apfs
   159                    startTimeUnixNano: "1000000"
   160                    timeUnixNano: "2000000"
   161                  - asInt: "503869440"
   162                    attributes:
   163                      - key: device
   164                        value:
   165                          stringValue: /dev/disk2s3
   166                      - key: mode
   167                        value:
   168                          stringValue: rw
   169                      - key: mountpoint
   170                        value:
   171                          stringValue: /System/Volumes/Hardware
   172                      - key: state
   173                        value:
   174                          stringValue: free
   175                      - key: type
   176                        value:
   177                          stringValue: apfs
   178                    startTimeUnixNano: "1000000"
   179                    timeUnixNano: "2000000"
   180                  - asInt: "0"
   181                    attributes:
   182                      - key: device
   183                        value:
   184                          stringValue: /dev/disk2s3
   185                      - key: mode
   186                        value:
   187                          stringValue: rw
   188                      - key: mountpoint
   189                        value:
   190                          stringValue: /System/Volumes/Hardware
   191                      - key: state
   192                        value:
   193                          stringValue: reserved
   194                      - key: type
   195                        value:
   196                          stringValue: apfs
   197                    startTimeUnixNano: "1000000"
   198                    timeUnixNano: "2000000"
   199                  - asInt: "20418560"
   200                    attributes:
   201                      - key: device
   202                        value:
   203                          stringValue: /dev/disk2s3
   204                      - key: mode
   205                        value:
   206                          stringValue: rw
   207                      - key: mountpoint
   208                        value:
   209                          stringValue: /System/Volumes/Hardware
   210                      - key: state
   211                        value:
   212                          stringValue: used
   213                      - key: type
   214                        value:
   215                          stringValue: apfs
   216                    startTimeUnixNano: "1000000"
   217                    timeUnixNano: "2000000"
   218                  - asInt: "342134198272"
   219                    attributes:
   220                      - key: device
   221                        value:
   222                          stringValue: /dev/disk3s1s1
   223                      - key: mode
   224                        value:
   225                          stringValue: ro
   226                      - key: mountpoint
   227                        value:
   228                          stringValue: /
   229                      - key: state
   230                        value:
   231                          stringValue: free
   232                      - key: type
   233                        value:
   234                          stringValue: apfs
   235                    startTimeUnixNano: "1000000"
   236                    timeUnixNano: "2000000"
   237                  - asInt: "0"
   238                    attributes:
   239                      - key: device
   240                        value:
   241                          stringValue: /dev/disk3s1s1
   242                      - key: mode
   243                        value:
   244                          stringValue: ro
   245                      - key: mountpoint
   246                        value:
   247                          stringValue: /
   248                      - key: state
   249                        value:
   250                          stringValue: reserved
   251                      - key: type
   252                        value:
   253                          stringValue: apfs
   254                    startTimeUnixNano: "1000000"
   255                    timeUnixNano: "2000000"
   256                  - asInt: "152250597376"
   257                    attributes:
   258                      - key: device
   259                        value:
   260                          stringValue: /dev/disk3s1s1
   261                      - key: mode
   262                        value:
   263                          stringValue: ro
   264                      - key: mountpoint
   265                        value:
   266                          stringValue: /
   267                      - key: state
   268                        value:
   269                          stringValue: used
   270                      - key: type
   271                        value:
   272                          stringValue: apfs
   273                    startTimeUnixNano: "1000000"
   274                    timeUnixNano: "2000000"
   275                  - asInt: "342134198272"
   276                    attributes:
   277                      - key: device
   278                        value:
   279                          stringValue: /dev/disk3s2
   280                      - key: mode
   281                        value:
   282                          stringValue: rw
   283                      - key: mountpoint
   284                        value:
   285                          stringValue: /System/Volumes/Preboot
   286                      - key: state
   287                        value:
   288                          stringValue: free
   289                      - key: type
   290                        value:
   291                          stringValue: apfs
   292                    startTimeUnixNano: "1000000"
   293                    timeUnixNano: "2000000"
   294                  - asInt: "0"
   295                    attributes:
   296                      - key: device
   297                        value:
   298                          stringValue: /dev/disk3s2
   299                      - key: mode
   300                        value:
   301                          stringValue: rw
   302                      - key: mountpoint
   303                        value:
   304                          stringValue: /System/Volumes/Preboot
   305                      - key: state
   306                        value:
   307                          stringValue: reserved
   308                      - key: type
   309                        value:
   310                          stringValue: apfs
   311                    startTimeUnixNano: "1000000"
   312                    timeUnixNano: "2000000"
   313                  - asInt: "152250597376"
   314                    attributes:
   315                      - key: device
   316                        value:
   317                          stringValue: /dev/disk3s2
   318                      - key: mode
   319                        value:
   320                          stringValue: rw
   321                      - key: mountpoint
   322                        value:
   323                          stringValue: /System/Volumes/Preboot
   324                      - key: state
   325                        value:
   326                          stringValue: used
   327                      - key: type
   328                        value:
   329                          stringValue: apfs
   330                    startTimeUnixNano: "1000000"
   331                    timeUnixNano: "2000000"
   332                  - asInt: "342134198272"
   333                    attributes:
   334                      - key: device
   335                        value:
   336                          stringValue: /dev/disk3s4
   337                      - key: mode
   338                        value:
   339                          stringValue: rw
   340                      - key: mountpoint
   341                        value:
   342                          stringValue: /System/Volumes/Update
   343                      - key: state
   344                        value:
   345                          stringValue: free
   346                      - key: type
   347                        value:
   348                          stringValue: apfs
   349                    startTimeUnixNano: "1000000"
   350                    timeUnixNano: "2000000"
   351                  - asInt: "0"
   352                    attributes:
   353                      - key: device
   354                        value:
   355                          stringValue: /dev/disk3s4
   356                      - key: mode
   357                        value:
   358                          stringValue: rw
   359                      - key: mountpoint
   360                        value:
   361                          stringValue: /System/Volumes/Update
   362                      - key: state
   363                        value:
   364                          stringValue: reserved
   365                      - key: type
   366                        value:
   367                          stringValue: apfs
   368                    startTimeUnixNano: "1000000"
   369                    timeUnixNano: "2000000"
   370                  - asInt: "152250597376"
   371                    attributes:
   372                      - key: device
   373                        value:
   374                          stringValue: /dev/disk3s4
   375                      - key: mode
   376                        value:
   377                          stringValue: rw
   378                      - key: mountpoint
   379                        value:
   380                          stringValue: /System/Volumes/Update
   381                      - key: state
   382                        value:
   383                          stringValue: used
   384                      - key: type
   385                        value:
   386                          stringValue: apfs
   387                    startTimeUnixNano: "1000000"
   388                    timeUnixNano: "2000000"
   389                  - asInt: "342134198272"
   390                    attributes:
   391                      - key: device
   392                        value:
   393                          stringValue: /dev/disk3s5
   394                      - key: mode
   395                        value:
   396                          stringValue: rw
   397                      - key: mountpoint
   398                        value:
   399                          stringValue: /System/Volumes/Data
   400                      - key: state
   401                        value:
   402                          stringValue: free
   403                      - key: type
   404                        value:
   405                          stringValue: apfs
   406                    startTimeUnixNano: "1000000"
   407                    timeUnixNano: "2000000"
   408                  - asInt: "0"
   409                    attributes:
   410                      - key: device
   411                        value:
   412                          stringValue: /dev/disk3s5
   413                      - key: mode
   414                        value:
   415                          stringValue: rw
   416                      - key: mountpoint
   417                        value:
   418                          stringValue: /System/Volumes/Data
   419                      - key: state
   420                        value:
   421                          stringValue: reserved
   422                      - key: type
   423                        value:
   424                          stringValue: apfs
   425                    startTimeUnixNano: "1000000"
   426                    timeUnixNano: "2000000"
   427                  - asInt: "152250597376"
   428                    attributes:
   429                      - key: device
   430                        value:
   431                          stringValue: /dev/disk3s5
   432                      - key: mode
   433                        value:
   434                          stringValue: rw
   435                      - key: mountpoint
   436                        value:
   437                          stringValue: /System/Volumes/Data
   438                      - key: state
   439                        value:
   440                          stringValue: used
   441                      - key: type
   442                        value:
   443                          stringValue: apfs
   444                    startTimeUnixNano: "1000000"
   445                    timeUnixNano: "2000000"
   446                  - asInt: "342134198272"
   447                    attributes:
   448                      - key: device
   449                        value:
   450                          stringValue: /dev/disk3s6
   451                      - key: mode
   452                        value:
   453                          stringValue: rw
   454                      - key: mountpoint
   455                        value:
   456                          stringValue: /System/Volumes/VM
   457                      - key: state
   458                        value:
   459                          stringValue: free
   460                      - key: type
   461                        value:
   462                          stringValue: apfs
   463                    startTimeUnixNano: "1000000"
   464                    timeUnixNano: "2000000"
   465                  - asInt: "0"
   466                    attributes:
   467                      - key: device
   468                        value:
   469                          stringValue: /dev/disk3s6
   470                      - key: mode
   471                        value:
   472                          stringValue: rw
   473                      - key: mountpoint
   474                        value:
   475                          stringValue: /System/Volumes/VM
   476                      - key: state
   477                        value:
   478                          stringValue: reserved
   479                      - key: type
   480                        value:
   481                          stringValue: apfs
   482                    startTimeUnixNano: "1000000"
   483                    timeUnixNano: "2000000"
   484                  - asInt: "152250597376"
   485                    attributes:
   486                      - key: device
   487                        value:
   488                          stringValue: /dev/disk3s6
   489                      - key: mode
   490                        value:
   491                          stringValue: rw
   492                      - key: mountpoint
   493                        value:
   494                          stringValue: /System/Volumes/VM
   495                      - key: state
   496                        value:
   497                          stringValue: used
   498                      - key: type
   499                        value:
   500                          stringValue: apfs
   501                    startTimeUnixNano: "1000000"
   502                    timeUnixNano: "2000000"
   503                  - asInt: "8717185024"
   504                    attributes:
   505                      - key: extra-sum-attr-key
   506                        value:
   507                          stringValue: extra-sum-attr-value
   508                      - key: device
   509                        value:
   510                          stringValue: /dev/disk4s1
   511                      - key: mode
   512                        value:
   513                          stringValue: rw
   514                      - key: mountpoint
   515                        value:
   516                          stringValue: /Volumes/transfer
   517                      - key: state
   518                        value:
   519                          stringValue: free
   520                      - key: type
   521                        value:
   522                          stringValue: hfs
   523                    startTimeUnixNano: "1000000"
   524                    timeUnixNano: "2000000"
   525                  - asInt: "0"
   526                    attributes:
   527                      - key: device
   528                        value:
   529                          stringValue: /dev/disk4s1
   530                      - key: mode
   531                        value:
   532                          stringValue: rw
   533                      - key: mountpoint
   534                        value:
   535                          stringValue: /Volumes/transfer
   536                      - key: state
   537                        value:
   538                          stringValue: reserved
   539                      - key: type
   540                        value:
   541                          stringValue: hfs
   542                    startTimeUnixNano: "1000000"
   543                    timeUnixNano: "2000000"
   544                  - asInt: "7409389568"
   545                    attributes:
   546                      - key: device
   547                        value:
   548                          stringValue: /dev/disk4s1
   549                      - key: mode
   550                        value:
   551                          stringValue: rw
   552                      - key: mountpoint
   553                        value:
   554                          stringValue: /Volumes/transfer
   555                      - key: state
   556                        value:
   557                          stringValue: used
   558                      - key: type
   559                        value:
   560                          stringValue: hfs
   561                    startTimeUnixNano: "1000000"
   562                    timeUnixNano: "2000000"
   563                  - asInt: "14336"
   564                    attributes:
   565                      - key: device
   566                        value:
   567                          stringValue: /dev/disk4s2
   568                      - key: mode
   569                        value:
   570                          stringValue: rw
   571                      - key: mountpoint
   572                        value:
   573                          stringValue: /Volumes/UEFI_NTFS
   574                      - key: state
   575                        value:
   576                          stringValue: free
   577                      - key: type
   578                        value:
   579                          stringValue: msdos
   580                    startTimeUnixNano: "1000000"
   581                    timeUnixNano: "2000000"
   582                  - asInt: "0"
   583                    attributes:
   584                      - key: device
   585                        value:
   586                          stringValue: /dev/disk4s2
   587                      - key: mode
   588                        value:
   589                          stringValue: rw
   590                      - key: mountpoint
   591                        value:
   592                          stringValue: /Volumes/UEFI_NTFS
   593                      - key: state
   594                        value:
   595                          stringValue: reserved
   596                      - key: type
   597                        value:
   598                          stringValue: msdos
   599                    startTimeUnixNano: "1000000"
   600                    timeUnixNano: "2000000"
   601                  - asInt: "493568"
   602                    attributes:
   603                      - key: device
   604                        value:
   605                          stringValue: /dev/disk4s2
   606                      - key: mode
   607                        value:
   608                          stringValue: rw
   609                      - key: mountpoint
   610                        value:
   611                          stringValue: /Volumes/UEFI_NTFS
   612                      - key: state
   613                        value:
   614                          stringValue: used
   615                      - key: type
   616                        value:
   617                          stringValue: msdos
   618                    startTimeUnixNano: "1000000"
   619                    timeUnixNano: "2000000"
   620                  - asInt: "0"
   621                    attributes:
   622                      - key: device
   623                        value:
   624                          stringValue: devfs
   625                      - key: mode
   626                        value:
   627                          stringValue: rw
   628                      - key: mountpoint
   629                        value:
   630                          stringValue: /dev
   631                      - key: state
   632                        value:
   633                          stringValue: free
   634                      - key: type
   635                        value:
   636                          stringValue: devfs
   637                    startTimeUnixNano: "1000000"
   638                    timeUnixNano: "2000000"
   639                  - asInt: "0"
   640                    attributes:
   641                      - key: device
   642                        value:
   643                          stringValue: devfs
   644                      - key: mode
   645                        value:
   646                          stringValue: rw
   647                      - key: mountpoint
   648                        value:
   649                          stringValue: /dev
   650                      - key: state
   651                        value:
   652                          stringValue: reserved
   653                      - key: type
   654                        value:
   655                          stringValue: devfs
   656                    startTimeUnixNano: "1000000"
   657                    timeUnixNano: "2000000"
   658                  - asInt: "220672"
   659                    attributes:
   660                      - key: device
   661                        value:
   662                          stringValue: devfs
   663                      - key: mode
   664                        value:
   665                          stringValue: rw
   666                      - key: mountpoint
   667                        value:
   668                          stringValue: /dev
   669                      - key: state
   670                        value:
   671                          stringValue: used
   672                      - key: type
   673                        value:
   674                          stringValue: devfs
   675                    startTimeUnixNano: "1000000"
   676                    timeUnixNano: "3000000"
   677                  - asInt: "0"
   678                    attributes:
   679                      - key: device
   680                        value:
   681                          stringValue: map auto_home
   682                      - key: mode
   683                        value:
   684                          stringValue: rw
   685                      - key: mountpoint
   686                        value:
   687                          stringValue: /System/Volumes/Data/home
   688                      - key: state
   689                        value:
   690                          stringValue: free
   691                      - key: type
   692                        value:
   693                          stringValue: autofs
   694                    startTimeUnixNano: "1000000"
   695                    timeUnixNano: "2000000"
   696                  - asInt: "0"
   697                    attributes:
   698                      - key: device
   699                        value:
   700                          stringValue: map auto_home
   701                      - key: mode
   702                        value:
   703                          stringValue: rw
   704                      - key: mountpoint
   705                        value:
   706                          stringValue: /System/Volumes/Data/home
   707                      - key: state
   708                        value:
   709                          stringValue: reserved
   710                      - key: type
   711                        value:
   712                          stringValue: autofs
   713                    startTimeUnixNano: "1000000"
   714                    timeUnixNano: "2000000"
   715                  - asInt: "0"
   716                    attributes:
   717                      - key: device
   718                        value:
   719                          stringValue: map auto_home
   720                      - key: mode
   721                        value:
   722                          stringValue: rw
   723                      - key: mountpoint
   724                        value:
   725                          stringValue: /System/Volumes/Data/home
   726                      - key: state
   727                        value:
   728                          stringValue: used
   729                      - key: type
   730                        value:
   731                          stringValue: autofs
   732                    startTimeUnixNano: "1000000"
   733                    timeUnixNano: "2000000"
   734              unit: By
   735          scope:
   736            name: otelcol/hostmetricsreceiver/filesystem
   737            version: v1.43.0