blob: 811e770ea6906465f0ab18e81d7a4d6b9f6d09d1 [file] [log] [blame]
###########################################################################
# This file contains the source of truth for the set of Metrics
# that are registered in version 0.1 of Cobalt.
#
# This file is maintained by hand. To add a new Metric or change
# the definition of a Metric, manually edit this file and
# commit the change to the Cobalt repo.
#
# The format of this file is the textual representation of the
# RegisteredMetrics Protocol Buffer message, which is defined in
# metrics.proto
##########################################################################
#########################
# Customer 1 (Fuchsia)
########################
## Project 1
#### Metric (1, 1, 1)
element {
customer_id: 1
project_id: 1
id: 1
name: "Fuschsia Rating and City"
description: "This is a fictional metric used for the development of Cobalt."
parts {
key: "rating"
value {
description: "An integer from 0 to 10"
data_type: INT
}
}
parts {
key: "city"
value {
description: "The name of a city"
}
}
}
#### Encoding (1, 1, 2)
element {
customer_id: 1
project_id: 1
id: 2
name: "Fuschsia Usage by Hour"
description: "This is a fictional metric used for the development of Cobalt."
parts {
key: "hour"
value {
description: "An integer from 0 to 23 representing the hour of the day."
data_type: INT
}
}
}
#### Encoding (1, 1, 3)
element {
customer_id: 1
project_id: 1
id: 3
name: "Fuschsia System Events"
description: "This is a fictional metric used for the development of Cobalt."
parts {
key: "event"
value {
description: "The index of one of the system event types."
data_type: INDEX
}
}
}
#########################
# Customer 2 (Acme)
########################
## Project 1
#### Metric (2, 1, 1)
element {
customer_id: 2
project_id: 1
id: 1
name: "Acme Module name"
description: "This is a fictional metric used for the development of Cobalt."
parts {
key: "name"
value {
description: "The name of a module."
data_type: STRING
}
}
}
#### Metric (2, 1, 2)
element {
customer_id: 2
project_id: 1
id: 2
name: "Acme Popular URLs"
description: "This is a fictional metric used for the development of Cobalt."
parts {
key: "url"
value {
description: "A URL."
}
}
}