Obtenir des informations sur votre empreinte carbone
Vous pouvez obtenir des informations sur votre empreinte carbone, les sources et les catégories d’émission.
Obtenir des informations sur votre empreinte carbone avec Cockpit
-
Dans le coin supérieur droit, cliquez sur vos initiales.
Un menu déroulant apparaît. -
Placez le curseur de la souris sur
Mes données et cliquez sur
Mon empreinte carbone.
L’estimation de votre empreinte carbone apparaît.Les données affichées sont susceptibles d’évoluer et sont uniquement fournies à titre informatif et estimatif.
-
(optionnel) Spécifiez :
-
Votre compte, un compte en particulier, ou tous les comptes.
-
Une période.
L’estimation d’empreinte carbone prend en compte les 36 derniers mois à partir de janvier 2024.
-
Une unité de mesure des données (kgCO₂e ou tCO₂e).
L’estimation de votre empreinte carbone pour le compte, la période, et l’unité spécifiés apparaît.
Activez ou désactivez le bouton Afficher sous forme de tableau pour changer l’affichage de votre estimation (graphique ou tableau).
-
Obtenir des informations sur votre empreinte carbone avec OSC CLI
|
À ce jour, cette section est disponible en anglais uniquement. |
The ReadCO2EmissionAccount command gets information about the estimated carbon footprint of your account for the current Region within the specified time period.
$ osc-cli api ReadCO2EmissionAccount --profile "default" \
--FromMonth "2025-05-01" \
--ToMonth "2025-06-01" \
--Overall True
This command contains the following attributes that you need to specify:
-
FromMonth: The beginning of the time period, in ISO 8601 date format (for example,2020-06-01). This value must correspond to the first day of the month and is included in the time period. -
Overall: (optional) If false, returns only the CO2 emission of the specific account that sends the request. If true, returns either the overall CO2 emission of your paying account and all linked accounts (if the account that sends this request is a paying account) or returns nothing (if the account that sends this request is a linked account).
Default: false. -
ToMonth: The end of the time period, in ISO 8601 date format (for example,2020-06-14). This value must correspond to the first day of the month and is excluded from the time period. It must be set to a later date thanFromMonth.
The ReadCO2EmissionAccount command returns the following elements:
-
CO2EmissionEntries: The CO2 emission by month and account, for the specified request.-
AccountId: The ID of the account associated with the consumption. -
CategoryDistribution: The allocation of theValueamong categories.-
Category: The category of the resource (for example,storage). -
Value: The total CO2 emissions for the category.
-
-
FactorDistribution: The allocation of theValueamong factors.-
Factor: The emission source (for example,hardware). -
Value: The total CO2 emissions for the factor.
-
-
Month: The month associated with the CO2 emission entry. -
PayingAccountId: The ID of the paying account related to theAccountIdparameter. -
Value: The total CO2 emissions for theMonthandAccountIdspecified. This value corresponds to the sum of all entries inCategoryDistributionandFactorDistributionEntry.
-
-
ResponseContext: Information about the context of the response.-
RequestId: The ID of the request.
-
-
Unit: The unit of all theValuefields of the response, expressed in kgCO₂e. -
Value: The total CO2 emission for the specified request.
{
"Unit": "KG",
"Value": 2.469,
"ResponseContext": {
"RequestId": "0475ca1e-d0c5-441d-712a-da55a4175157"
},
"CO2EmissionEntries": [
{
"Value": 2.469,
"AccountId": "123456789012",
"CategoryDistribution": {
"Value": 1.2345,
"Category": "compute"
},
"Month": "2025-05-01T00:00:00.000Z",
"PayingAccountId": "123456789012",
"FactorDistribution": {
"Value": 1.2345,
"Factor": "electricity"
}
}
]
}
Page connexe