All files / if-run/config params.ts

100% Statements 1/1
100% Branches 0/0
100% Functions 0/0
100% Lines 1/1

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199    33x                                                                                                                                                                                                                                                                                                                                                                                                        
import {Parameters} from '../types/parameters';
 
export const PARAMETERS: Parameters = {
  carbon: {
    description: 'an amount of carbon emitted into the atmosphere',
    unit: 'gCO2e',
    aggregation: 'sum',
  },
  'cpu/number-cores': {
    description: 'number of cores available',
    unit: 'cores',
    aggregation: 'none',
  },
  'cpu/utilization': {
    description: 'refers to CPU utilization.',
    unit: 'percentage',
    aggregation: 'avg',
  },
  'disk-io': {
    description: 'refers to GB of data written/read from disk',
    unit: 'GB',
    aggregation: 'sum',
  },
  duration: {
    description: 'refers to the duration of the input',
    unit: 'seconds',
    aggregation: 'sum',
  },
  energy: {
    description: 'amount of energy utilised by the component',
    unit: 'kWh',
    aggregation: 'sum',
  },
  'cpu/energy': {
    description: 'Energy consumed by the CPU of the component',
    unit: 'kWh',
    aggregation: 'sum',
  },
  'device/expected-lifespan': {
    description: 'Total Expected Lifespan of the Component in Seconds',
    unit: 'seconds',
    aggregation: 'sum',
  },
  'memory/energy': {
    description: 'Energy consumed by the Memory of the component',
    unit: 'kWh',
    aggregation: 'sum',
  },
  'carbon-embodied': {
    description: 'Embodied Emissions of the component',
    unit: 'gCO2e',
    aggregation: 'sum',
  },
  'network/energy': {
    description: 'Energy consumed by the Network of the component',
    unit: 'kWh',
    aggregation: 'sum',
  },
  'functional-unit': {
    description:
      'the name of the functional unit in which the final SCI value should be expressed, e.g. requests, users',
    unit: 'none',
    aggregation: 'sum',
  },
  'gpu-util': {
    description: 'refers to CPU utilization.',
    unit: 'percentage',
    aggregation: 'avg',
  },
  'grid/carbon-intensity': {
    description: 'Carbon intensity for the grid',
    unit: 'gCO2eq/kWh',
    aggregation: 'avg',
  },
  'cloud/instance-type': {
    description: 'Type of Cloud Instance name used in the cloud provider APIs',
    unit: 'None',
    aggregation: 'none',
  },
  geolocation: {
    description:
      'Geographic location of provider as string (for watt-time model it is provided as latitude and longitude, comma separated, in decimal degrees)',
    unit: 'None (decimal degrees for watt-time model)',
    aggregation: 'none',
  },
  'carbon-operational': {
    description: 'Operational Emissions of the component',
    unit: 'gCO2e',
    aggregation: 'sum',
  },
  'cpu/name': {
    description: 'Name of the physical processor',
    unit: 'None',
    aggregation: 'none',
  },
  'cloud/region': {
    description: 'region cloud instance runs in',
    unit: 'None',
    aggregation: 'none',
  },
  'cloud/vendor': {
    description:
      'Name of the cloud service provider in the ccf model. Can be aws, gcp or azure',
    unit: 'None',
    aggregation: 'none',
  },
  name: {
    description: 'arbitrary name parameter.',
    unit: 'None',
    aggregation: 'none',
  },
  'ram-alloc': {
    description: 'refers to GB of memory allocated.',
    unit: 'GB',
    aggregation: 'avg',
  },
  'ram-util': {
    description: 'refers to percentage of memory utilized.',
    unit: 'percentage',
    aggregation: 'avg',
  },
  'resources-reserved': {
    description: 'resources reserved for an application',
    unit: 'count',
    aggregation: 'none',
  },
  'cpu/thermal-design-power': {
    description: 'thermal design power for a processor',
    unit: 'kwh',
    aggregation: 'avg',
  },
  'device/emissions-embodied': {
    description: 'total embodied emissions of some component',
    unit: 'gCO2e',
    aggregation: 'sum',
  },
  timestamp: {
    description: 'refers to the time of occurrence of the input',
    unit: 'RFC3339',
    aggregation: 'none',
  },
  'time-reserved': {
    description: 'time reserved for a component',
    unit: 'seconds',
    aggregation: 'avg',
  },
  'resources-total': {
    description: 'total resources available',
    unit: 'count',
    aggregation: 'none',
  },
  'vcpus-allocated': {
    description: 'number of vcpus allocated to particular resource',
    unit: 'count',
    aggregation: 'none',
  },
  'vcpus-total': {
    description: 'total number of vcpus available on a particular resource',
    unit: 'count',
    aggregation: 'none',
  },
  'memory-available': {
    description: 'total amount of memory available on a particular resource',
    unit: 'GB',
    aggregation: 'none',
  },
  'physical-processor': {
    description:
      'name of the physical processor being used in a specific instance type',
    unit: 'None',
    aggregation: 'none',
  },
  'cloud/region-cfe': {
    description: 'cloud region name in cfe format',
    unit: 'None',
    aggregation: 'none',
  },
  'cloud/region-em-zone-id': {
    description: 'cloud region name in electricity maps format',
    unit: 'None',
    aggregation: 'none',
  },
  'cloud/region-wt-id': {
    description: 'cloud region name in watt-time format',
    unit: 'None',
    aggregation: 'none',
  },
  'cloud/region-location': {
    description: 'cloud region name in our IF format',
    unit: 'None',
    aggregation: 'none',
  },
  'cloud/region-geolocation': {
    description: 'location expressed as decimal coordinates (lat/lon)',
    unit: 'decimal degrees',
    aggregation: 'none',
  },
};