Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add configuration for tracing log #531

Conversation

YaSuenag
Copy link
Contributor

Pull Request

Summary

Introduce new configuration EnableTelemetryLogging into CarbonAwareVars. This configures whether console exporter by OpenTelemetry is enabled. If you set this to false, following log would be gone:

Activity.TraceId:            46ba0749bdd2381c8f8aded1986e74b2
Activity.SpanId:             bcb76b5718c7df35
Activity.TraceFlags:         Recorded
Activity.ActivitySourceName: Microsoft.AspNetCore
Activity.DisplayName:        /health
Activity.Kind:               Server
Activity.StartTime:          2024-06-12T10:36:51.3093434Z
Activity.Duration:           00:00:00.0221267
Activity.Tags:
    net.host.name: localhost
    net.host.port: 8080
    http.method: GET
    http.scheme: http
    http.target: /health
    http.url: http://localhost:8080/health
    http.flavor: 1.1
    http.user_agent: curl/8.5.0
    http.status_code: 200
Resource associated with Activity:
    service.name: CarbonAware.WebAPI
    service.version: 1.0.0
    service.instance.id: d482b5d5-4448-4281-8da8-37677e70e389
    telemetry.sdk.name: opentelemetry
    telemetry.sdk.language: dotnet
    telemetry.sdk.version: 1.6.0

This configuration is set to true by default, so this change does not change current behavior.

Changes

  • Add EnableTelemetryLogging
  • Move console exporter configuration to ServiceCollectionExtensions.cs from Program.cs
  • Update document
  • Update unit test

Checklist

  • Local Tests Passing?
  • CICD and Pipeline Tests Passing?
  • Added any new Tests?
  • Documentation Updates Made?
  • Are there any API Changes? If yes, please describe below.
  • This is not a breaking change. If it is, please describe it below.

Are there API Changes?

No

Is this a breaking change?

No

Signed-off-by: Yasumasa Suenaga <[email protected]>
@danuw
Copy link
Collaborator

danuw commented Aug 27, 2024

@vaughanknight to review - it is meant to reduce telemetry by removing all console logs.

@vaughanknight
Copy link
Contributor

I'll look at this over the next few days.

Copy link
Contributor

@vaughanknight vaughanknight left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks for updating the tests also!

@vaughanknight vaughanknight merged commit b502723 into Green-Software-Foundation:dev Nov 5, 2024
9 checks passed
@YaSuenag YaSuenag deleted the pr/configure-tracing-log branch November 5, 2024 06:50
danuw added a commit that referenced this pull request Nov 5, 2024
danuw added a commit that referenced this pull request Nov 5, 2024
…1-update

Updating 1.6.1 changelog to include #531
@danuw danuw added the v1.6.1 label Nov 12, 2024
@danuw danuw modified the milestones: Release 1.7, Release 1.6 Nov 12, 2024
vaughanknight added a commit that referenced this pull request Nov 12, 2024
* Further updates to clean up merge duplication

* Signed-off-by: Vaughan Knight <[email protected]>

DCO Remediation Commit for Vaughan Knight <[email protected]>

I, Vaughan Knight <[email protected]>, hereby add my Signed-off-by to this commit: da70ec4
I, Vaughan Knight <[email protected]>, hereby add my Signed-off-by to this commit: 6be74ff
I, Vaughan Knight <[email protected]>, hereby add my Signed-off-by to this commit: fe5cef9
I, Vaughan Knight <[email protected]>, hereby add my Signed-off-by to this commit: b4a7973
I, Vaughan Knight <[email protected]>, hereby add my Signed-off-by to this commit: d0a954a
I, Vaughan Knight <[email protected]>, hereby add my Signed-off-by to this commit: 996d084
I, Vaughan Knight <[email protected]>, hereby add my Signed-off-by to this commit: 648a1ce
I, Vaughan Knight <[email protected]>, hereby add my Signed-off-by to this commit: 581267c
I, Vaughan Knight <[email protected]>, hereby add my Signed-off-by to this commit: 3c90f55
I, Vaughan Knight <[email protected]>, hereby add my Signed-off-by to this commit: 6c1514e
I, Vaughan Knight <[email protected]>, hereby add my Signed-off-by to this commit: 0592710
I, Vaughan Knight <[email protected]>, hereby add my Signed-off-by to this commit: c59057c
I, Vaughan Knight <[email protected]>, hereby add my Signed-off-by to this commit: 0cec58f
I, Vaughan Knight <[email protected]>, hereby add my Signed-off-by to this commit: 028a179

Signed-off-by: Vaughan Knight <[email protected]>

* blog posts - unpublished / placeholder posts currently sit in blog_preview sub folder

* annoucementBar #416 to include disclaimer as well as CarbonHack link

* CarbonHack24 Update to README.md

Signed-off-by: Dan Benitah <[email protected]>

* bold disclaimer / banner message

* ensuring samples get deployed as part of the docs too

* working directory correction for moving samples in docs deployment workflow

* normalisation of the workflow name to others

* latest docusaurus updates to check the latest workflow

* docusaurus broken links build warning + move all samples folder

* Update CONTRIBUTING.md

Signed-off-by: Sophie Trinder <[email protected]>

* Update CONTRIBUTING.md

Signed-off-by: Sophie Trinder <[email protected]>

* Update CHANGELOG.md

Signed-off-by: Dan Benitah <[email protected]>

* Update CHANGELOG.md with first draft release notes for 1.2

Signed-off-by: Dan Benitah <[email protected]>

* Update CHANGELOG.md

Signed-off-by: Dan Benitah <[email protected]>

* Update CHANGELOG.md

Updating release date

Signed-off-by: Dan Benitah <[email protected]>

* Update WattTime registration link

Signed-off-by: Phil Huang <[email protected]>

* Update containerization.md

Small typo ("arbon" => "Carbon")

Signed-off-by: Richard Jackson <[email protected]>

* Create adopters.md

Signed-off-by: tkuramoto33 <[email protected]>

* Add Vestas.

Signed-off-by: tkuramoto33 <[email protected]>

* Remove a hyphen for consistent appearance

Signed-off-by: tkuramoto33 <[email protected]>

* Update the description

Signed-off-by: tkuramoto33 <[email protected]>

* Update the description to mention pull requests

Signed-off-by: tkuramoto33 <[email protected]>

* Create enablement.md

table of content


Signed-off-by: Rintaro Ikeda <[email protected]>

* draft of enablement.md

Signed-off-by: Rintaro Ikeda <[email protected]>

* Update carbon-aware-cli.md

Fixes bugs with Linux scripts

Signed-off-by: JasonLuuk <[email protected]>

* Initial codespace branch and associated docs

* updated vs code extensions

* DCO Remediation Commit for Dan Benitah <[email protected]>

I, Dan Benitah <[email protected]>, hereby add my Signed-off-by to this commit: 44578f4
I, Dan Benitah <[email protected]>, hereby add my Signed-off-by to this commit: 3ae9a00

Signed-off-by: Dan Benitah <[email protected]>

* Update README.md

* More updates

More updates

* Added plcaeholder images

Added plcaeholder images

* Updated images

Updates all images and compressed some images, cleaned up naming for the avif file.

* More updates

New images, and some updates to the copy after stepping away from it for a bit.

* Updates with theory of change details

Updates with theory of change details

* Minor updates, included adopters page link

Minor updates, included adopters page link

* Update README.md

* More updates

More updates

* Added plcaeholder images

Added plcaeholder images

* Updated images

Updates all images and compressed some images, cleaned up naming for the avif file.

* More updates

New images, and some updates to the copy after stepping away from it for a bit.

* Updates with theory of change details

Updates with theory of change details

* Signed-off-by: Vaughan Knight <[email protected]>

DCO Remediation Commit for Vaughan Knight <[email protected]>

I, Vaughan Knight <[email protected]>, hereby add my Signed-off-by to this commit: da70ec4
I, Vaughan Knight <[email protected]>, hereby add my Signed-off-by to this commit: 6be74ff
I, Vaughan Knight <[email protected]>, hereby add my Signed-off-by to this commit: fe5cef9
I, Vaughan Knight <[email protected]>, hereby add my Signed-off-by to this commit: b4a7973
I, Vaughan Knight <[email protected]>, hereby add my Signed-off-by to this commit: d0a954a
I, Vaughan Knight <[email protected]>, hereby add my Signed-off-by to this commit: 996d084
I, Vaughan Knight <[email protected]>, hereby add my Signed-off-by to this commit: 648a1ce
I, Vaughan Knight <[email protected]>, hereby add my Signed-off-by to this commit: 581267c
I, Vaughan Knight <[email protected]>, hereby add my Signed-off-by to this commit: 3c90f55
I, Vaughan Knight <[email protected]>, hereby add my Signed-off-by to this commit: 6c1514e
I, Vaughan Knight <[email protected]>, hereby add my Signed-off-by to this commit: 0592710
I, Vaughan Knight <[email protected]>, hereby add my Signed-off-by to this commit: c59057c
I, Vaughan Knight <[email protected]>, hereby add my Signed-off-by to this commit: 0cec58f
I, Vaughan Knight <[email protected]>, hereby add my Signed-off-by to this commit: 028a179

Signed-off-by: Vaughan Knight <[email protected]>

* Update tests.md

our current coverage is 74.6% so adjusting until we can improve

Signed-off-by: Dan Benitah <[email protected]>

* Update README.md

linking to the new banner

Signed-off-by: Dan Benitah <[email protected]>

* adding the banner image

Signed-off-by: Dan Benitah <[email protected]>

* Create SECURITY.md

* merge and bug fixes

* Qucikstart fix and overview link adjustment following move

* Up Helm chart version to 1.1.0

Signed-off-by: Yasumasa Suenaga <[email protected]>

* Signed-off-by: Vaughan Knight <[email protected]>

DCO Remediation Commit for Vaughan Knight <[email protected]>

I, Vaughan Knight <[email protected]>, hereby add my Signed-off-by to this commit: da70ec4
I, Vaughan Knight <[email protected]>, hereby add my Signed-off-by to this commit: 6be74ff
I, Vaughan Knight <[email protected]>, hereby add my Signed-off-by to this commit: fe5cef9
I, Vaughan Knight <[email protected]>, hereby add my Signed-off-by to this commit: b4a7973
I, Vaughan Knight <[email protected]>, hereby add my Signed-off-by to this commit: d0a954a
I, Vaughan Knight <[email protected]>, hereby add my Signed-off-by to this commit: 996d084
I, Vaughan Knight <[email protected]>, hereby add my Signed-off-by to this commit: 648a1ce
I, Vaughan Knight <[email protected]>, hereby add my Signed-off-by to this commit: 581267c
I, Vaughan Knight <[email protected]>, hereby add my Signed-off-by to this commit: 3c90f55
I, Vaughan Knight <[email protected]>, hereby add my Signed-off-by to this commit: 6c1514e
I, Vaughan Knight <[email protected]>, hereby add my Signed-off-by to this commit: 0592710
I, Vaughan Knight <[email protected]>, hereby add my Signed-off-by to this commit: c59057c
I, Vaughan Knight <[email protected]>, hereby add my Signed-off-by to this commit: 0cec58f
I, Vaughan Knight <[email protected]>, hereby add my Signed-off-by to this commit: 028a179

Signed-off-by: Vaughan Knight <[email protected]>

* CarbonHack24 Update to README.md

Signed-off-by: Dan Benitah <[email protected]>

* Create tests.md

test coverage  #413

Signed-off-by: Dan Benitah <[email protected]>

* Update tests.md

our current coverage is 74.6% so adjusting until we can improve

Signed-off-by: Dan Benitah <[email protected]>

* Signed-off-by: Vaughan Knight <[email protected]>

DCO Remediation Commit for Vaughan Knight <[email protected]>

I, Vaughan Knight <[email protected]>, hereby add my Signed-off-by to this commit: da70ec4
I, Vaughan Knight <[email protected]>, hereby add my Signed-off-by to this commit: 6be74ff
I, Vaughan Knight <[email protected]>, hereby add my Signed-off-by to this commit: fe5cef9
I, Vaughan Knight <[email protected]>, hereby add my Signed-off-by to this commit: b4a7973
I, Vaughan Knight <[email protected]>, hereby add my Signed-off-by to this commit: d0a954a
I, Vaughan Knight <[email protected]>, hereby add my Signed-off-by to this commit: 996d084
I, Vaughan Knight <[email protected]>, hereby add my Signed-off-by to this commit: 648a1ce
I, Vaughan Knight <[email protected]>, hereby add my Signed-off-by to this commit: 581267c
I, Vaughan Knight <[email protected]>, hereby add my Signed-off-by to this commit: 3c90f55
I, Vaughan Knight <[email protected]>, hereby add my Signed-off-by to this commit: 6c1514e
I, Vaughan Knight <[email protected]>, hereby add my Signed-off-by to this commit: 0592710
I, Vaughan Knight <[email protected]>, hereby add my Signed-off-by to this commit: c59057c
I, Vaughan Knight <[email protected]>, hereby add my Signed-off-by to this commit: 0cec58f
I, Vaughan Knight <[email protected]>, hereby add my Signed-off-by to this commit: 028a179

Signed-off-by: Vaughan Knight <[email protected]>

* blog updates

* DCO Remediation Commit for Dan Benitah <[email protected]>

I, Dan Benitah <[email protected]>, hereby add my Signed-off-by to this commit: 356ce09
I, Dan Benitah <[email protected]>, hereby add my Signed-off-by to this commit: 2c342a8
I, Dan Benitah <[email protected]>, hereby add my Signed-off-by to this commit: 04be596
I, Dan Benitah <[email protected]>, hereby add my Signed-off-by to this commit: c437b5b
I, Dan Benitah <[email protected]>, hereby add my Signed-off-by to this commit: 46958d9
I, Dan Benitah <[email protected]>, hereby add my Signed-off-by to this commit: 21a0e16
I, Dan Benitah <[email protected]>, hereby add my Signed-off-by to this commit: 8bbe72e
I, Dan Benitah <[email protected]>, hereby add my Signed-off-by to this commit: 62e2a95
I, Dan Benitah <[email protected]>, hereby add my Signed-off-by to this commit: 5183d73
I, Dan Benitah <[email protected]>, hereby add my Signed-off-by to this commit: 93267d6
I, Dan Benitah <[email protected]>, hereby add my Signed-off-by to this commit: ee8841c
I, Dan Benitah <[email protected]>, hereby add my Signed-off-by to this commit: 2d7b4dd
I, Dan Benitah <[email protected]>, hereby add my Signed-off-by to this commit: 68bbb2f
I, Dan Benitah <[email protected]>, hereby add my Signed-off-by to this commit: 735a515
I, Dan Benitah <[email protected]>, hereby add my Signed-off-by to this commit: a31b391
I, Dan Benitah <[email protected]>, hereby add my Signed-off-by to this commit: b7483b6
I, Dan Benitah <[email protected]>, hereby add my Signed-off-by to this commit: 4cece7b
I, Dan Benitah <[email protected]>, hereby add my Signed-off-by to this commit: 83f3073
I, Dan Benitah <[email protected]>, hereby add my Signed-off-by to this commit: 4799d7a
I, Dan Benitah <[email protected]>, hereby add my Signed-off-by to this commit: d2d823d
I, Dan Benitah <[email protected]>, hereby add my Signed-off-by to this commit: c3d832c
I, Dan Benitah <[email protected]>, hereby add my Signed-off-by to this commit: ec96b52
I, Dan Benitah <[email protected]>, hereby add my Signed-off-by to this commit: 9567c45
I, Dan Benitah <[email protected]>, hereby add my Signed-off-by to this commit: 4527514
I, Dan Benitah <[email protected]>, hereby add my Signed-off-by to this commit: ff729b0
I, Dan Benitah <[email protected]>, hereby add my Signed-off-by to this commit: 1bdd2ad
I, Dan Benitah <[email protected]>, hereby add my Signed-off-by to this commit: 012ca25
I, Dan Benitah <[email protected]>, hereby add my Signed-off-by to this commit: c7d4563
I, Dan Benitah <[email protected]>, hereby add my Signed-off-by to this commit: a51782f
I, Dan Benitah <[email protected]>, hereby add my Signed-off-by to this commit: cc15035
I, Dan Benitah <[email protected]>, hereby add my Signed-off-by to this commit: 3c62bd4
I, Dan Benitah <[email protected]>, hereby add my Signed-off-by to this commit: 590f262

Signed-off-by: Dan Benitah <[email protected]>

DCO Remediation Commit for danuw <[email protected]>

I, danuw <[email protected]>, hereby add my Signed-off-by to this commit: fbc602c
I, danuw <[email protected]>, hereby add my Signed-off-by to this commit: ac1432f
I, danuw <[email protected]>, hereby add my Signed-off-by to this commit: 8166cf2
I, danuw <[email protected]>, hereby add my Signed-off-by to this commit: 48f117e

Signed-off-by: danuw <[email protected]>

* DCO Remediation Commit for danuw <[email protected]>

I, danuw <[email protected]>, hereby add my Signed-off-by to this commit: fbc602c
I, danuw <[email protected]>, hereby add my Signed-off-by to this commit: ac1432f
I, danuw <[email protected]>, hereby add my Signed-off-by to this commit: 8166cf2
I, danuw <[email protected]>, hereby add my Signed-off-by to this commit: 48f117e

Signed-off-by: danuw <[email protected]>
Signed-off-by: Dan Benitah <[email protected]>

* Update baseURL docusaurus config

Signed-off-by: Osama Jandali <[email protected]>

* Update docusaurus.config.js

Signed-off-by: Osama Jandali <[email protected]>

* Revert changes 

Signed-off-by: Osama Jandali <[email protected]>

* Update domain from docusaurus

Signed-off-by: Osama Jandali <[email protected]>

* Update docusaurus.config.js

Signed-off-by: Osama Jandali <[email protected]>

* Create CNAME file

Signed-off-by: Osama Jandali <[email protected]>

* clean up for title

* Option to show the samples in the local docs using `nm run start-with-samples` . Will need deleting manually for now

* seo for the doc site

* docs fixes

* layout update for blogs

* Update SECURITY.md

Updated with @Willmish recommendations for the document which were lost in a comment 👍

* DCO Remediation Commit for Vaughan Knight <[email protected]>

I, Vaughan Knight <[email protected]>, hereby add my Signed-off-by to this commit: 2dc06f8

Signed-off-by: Vaughan Knight <[email protected]>

* Ensure pictures on the blog are correctly sized

* updated links to videos

* Update README.md

* Change "Withing" to "Within"

I'm genuinely unsure on what word this should be, possible "Using", but I'm sure it's not "Withing".

Signed-off-by: Richard Jackson <[email protected]>

* Update README.md

Two other typos
- programatically -> programmatically
- soruces -> sources

Signed-off-by: Richard Jackson <[email protected]>

* first draft of release 1.3 changelog

* Update README.md with updated link to overview

Signed-off-by: Dan Benitah <[email protected]>

* Fix overview URL in README

Signed-off-by: Szymon Duchniewicz <[email protected]>

* Update README.md

Update FAQ link for Carbon Hack

Signed-off-by: Russell Trow <[email protected]>

* Updates to the contribution documentation

Updates to the contribution documentation

* DCO Remediation Commit for Vaughan Knight <[email protected]>

I, Vaughan Knight <[email protected]>, hereby add my Signed-off-by to this commit: f267eba

Signed-off-by: Vaughan Knight <[email protected]>

* Readme as project overview in docs, disclaimer update for graduated project, and docs deploying pipeline updates

* DCO Remediation Commit for Vaughan Knight <[email protected]>

I, Vaughan Knight <[email protected]>, hereby add my Signed-off-by to this commit: bd7ad15
I, Vaughan Knight <[email protected]>, hereby add my Signed-off-by to this commit: 693beed
I, Vaughan Knight <[email protected]>, hereby add my Signed-off-by to this commit: 1d78756
I, Vaughan Knight <[email protected]>, hereby add my Signed-off-by to this commit: a7bc0fc
I, Vaughan Knight <[email protected]>, hereby add my Signed-off-by to this commit: 571e217
I, Vaughan Knight <[email protected]>, hereby add my Signed-off-by to this commit: a07870f
I, Vaughan Knight <[email protected]>, hereby add my Signed-off-by to this commit: 0314c47
I, Vaughan Knight <[email protected]>, hereby add my Signed-off-by to this commit: 3af6f73
I, Vaughan Knight <[email protected]>, hereby add my Signed-off-by to this commit: 932a665
I, Vaughan Knight <[email protected]>, hereby add my Signed-off-by to this commit: 9f09493
I, Vaughan Knight <[email protected]>, hereby add my Signed-off-by to this commit: 02ea4d6
I, Vaughan Knight <[email protected]>, hereby add my Signed-off-by to this commit: 183a676
I, Vaughan Knight <[email protected]>, hereby add my Signed-off-by to this commit: 0481081

Signed-off-by: Vaughan Knight <[email protected]>

* Migrate to .NET 8

#404
#420
#421
#422

Co-authored-by: Takuya Iwatsuka <[email protected]>
Signed-off-by: Yasumasa Suenaga <[email protected]>

* fix typos

Signed-off-by: omahs <[email protected]>

* fix typo

Signed-off-by: omahs <[email protected]>

* fix typo

Signed-off-by: omahs <[email protected]>

* fix typos

Signed-off-by: omahs <[email protected]>

* fix typos

Signed-off-by: omahs <[email protected]>

* fix typos

Signed-off-by: omahs <[email protected]>

* Update agenda-template.md

Signed-off-by: Sophie Trinder <[email protected]>

* Resolve NU1605 relating to System.IO.FileSystem.Primitives

https://learn.microsoft.com/en-us/nuget/reference/errors-and-warnings/nu1605#example-3

Signed-off-by: Yasumasa Suenaga <[email protected]>

* Use RID rather than QEMU to build WebAPI container image

https://devblogs.microsoft.com/dotnet/improving-multiplatform-container-support/

Signed-off-by: Yasumasa Suenaga <[email protected]>

* Separate OpenAPI document generation from build-env stage

Signed-off-by: Yasumasa Suenaga <[email protected]>

* Create case-study-template.md

Creating the case study template.

Signed-off-by: Vaughan Knight <[email protected]>

* Update case-study-template.md

Minor updates.

Signed-off-by: Vaughan Knight <[email protected]>

* Up Helm chart version to 1.2.0 (#500)

Signed-off-by: Yasumasa Suenaga <[email protected]>

* First draft of the ADR for watt time v3 changes

First draft of the ADR for watt time v3 changes.  Looking at path mappings and parameters.  Still plenty to work on.

* Initial changelog 1.4.0 (#511)

Signed-off-by: Dan Benitah <[email protected]>

* overview.md: Fixed three broken links Signed-off-by: joecus1 <[email protected]>

* DCO Remediation Commit for joecus1 <[email protected]>

I, joecus1 <[email protected]>, hereby add my Signed-off-by to this commit: c6b2c14

Signed-off-by: joecus1 <[email protected]>

* Update enablement.md

update older .Net reference 

Signed-off-by: nttDamien <[email protected]>

* (fix) broken links - Update enablement.md

Signed-off-by: nttDamien <[email protected]>

* Moved ADR to correct location

Moved ADR to correct location

* Further updates for the watt time v2 to v3 upgrade

Signed-off-by: Vaughan Knight <[email protected]>

* Further updates for the watt time v2 to v3 upgrade

Signed-off-by: Vaughan Knight <[email protected]>

* Update SECURITY.md (.NET 8 upgrade)

Signed-off-by: nttDamien <[email protected]>

* Update enablement.md 

2 missed references...

Signed-off-by: nttDamien <[email protected]>

* Update docusaurus.config.js

removed banner's mention of Hack

Signed-off-by: Dan Benitah <[email protected]>

* Update docusaurus.config.js

Signed-off-by: Dan Benitah <[email protected]>

* documentation-change.yml: Created issue template for documentation changes.

Signed-off-by: joecus1 <[email protected]>

* Update 0016-watt-time-v3.md

updated notes for BA

Signed-off-by: Vaughan Knight <[email protected]>

* First draft of the ADR for watt time v3 changes

First draft of the ADR for watt time v3 changes.  Looking at path mappings and parameters.  Still plenty to work on.

* Moved ADR to correct location

Moved ADR to correct location

* Further updates for the watt time v2 to v3 upgrade

Signed-off-by: Vaughan Knight <[email protected]>

* Update 0016-watt-time-v3.md

updated notes for BA

Signed-off-by: Vaughan Knight <[email protected]>

* Add blog article for .NET 8 upgrade

Signed-off-by: Yasumasa Suenaga <[email protected]>

* Update article

Signed-off-by: Yasumasa Suenaga <[email protected]>

* Create 0016-watt-time-v3.md

More updates.

* Added base url to the configuration with validation

Added AuthenticationBaseUrl to the configuration and updated Authentication to leverage the v3 authenication path - note the API is not updated and will require further updates.

* Updated start and end configuration

Updated start and end configuration to new values

* Balancing Authority Parameter Renamed to Region

Balancing Authority Renamed to Region.  Does not include updates to API, just the Query String parameter.

* Add example for 'podman play kube' (#340)

* Add example for 'podman play kube'

Signed-off-by: Yasumasa Suenaga <[email protected]>

* Update Swagger JSON URL

Signed-off-by: Yasumasa Suenaga <[email protected]>

---------

Signed-off-by: Yasumasa Suenaga <[email protected]>

* Updates for historical data API

Updates for historical data API

* Removed accidental file

Removed accidental file

* Lots of test updates

Lots of test updates, need to do some fixes.

* Historical forecasts updated

Historical forecasts updated

* DCO Remediation Commit for Vaughan Knight <[email protected]>

I, Vaughan Knight <[email protected]>, hereby add my Signed-off-by to this commit: b9490e4
I, Vaughan Knight <[email protected]>, hereby add my Signed-off-by to this commit: b991bac
I, Vaughan Knight <[email protected]>, hereby add my Signed-off-by to this commit: e4f1494
I, Vaughan Knight <[email protected]>, hereby add my Signed-off-by to this commit: b443e9e
I, Vaughan Knight <[email protected]>, hereby add my Signed-off-by to this commit: ab1205d
I, Vaughan Knight <[email protected]>, hereby add my Signed-off-by to this commit: 7c115fa
I, Vaughan Knight <[email protected]>, hereby add my Signed-off-by to this commit: e047c9a
I, Vaughan Knight <[email protected]>, hereby add my Signed-off-by to this commit: aa81382
I, Vaughan Knight <[email protected]>, hereby add my Signed-off-by to this commit: 8640c8c
I, Vaughan Knight <[email protected]>, hereby add my Signed-off-by to this commit: 880fcf7

Signed-off-by: Vaughan Knight <[email protected]>

* Many tests reworked, a few to go

Many tests reworked, a few to go.  Consolidated a lot of the hand crafted json objects into objects that get serialized as the purist JsonObject format was prone to errors - in some cases tests were passing even with bad typing.

* Further test updates

Further test updates

* Further updates, just 1 test left to remediate

Further updates, just 1 test left to remediate

* Updated to add authentication client to the service builder for the tests

Updated to add authentication client to the service builder for the tests.  All tests now passing.

* Renaming of Balancing Authority to Region

Renaming of Balancing Authority to Region through all code and comments.  This will also need updating through documentation.

* Fixed spelling error in latitude

Fixed spelling error in latitude

* Fixed a bug where location sources were loading twice

Fixed a bug where location sources were loading twice.  Added a semaphore to stop any threading issues, and also stopped it loading twice in the service configuration.

* Fixed typo for method name

Fixed typo for method name

* DCO Remediation Commit for Vaughan Knight <[email protected]>

I, Vaughan Knight <[email protected]>, hereby add my Signed-off-by to this commit: e324f36
I, Vaughan Knight <[email protected]>, hereby add my Signed-off-by to this commit: be6663c
I, Vaughan Knight <[email protected]>, hereby add my Signed-off-by to this commit: 39e45a6
I, Vaughan Knight <[email protected]>, hereby add my Signed-off-by to this commit: fbfcac1
I, Vaughan Knight <[email protected]>, hereby add my Signed-off-by to this commit: 9aabd27
I, Vaughan Knight <[email protected]>, hereby add my Signed-off-by to this commit: 8127a92
I, Vaughan Knight <[email protected]>, hereby add my Signed-off-by to this commit: 4ff0151
I, Vaughan Knight <[email protected]>, hereby add my Signed-off-by to this commit: d93320f
I, Vaughan Knight <[email protected]>, hereby add my Signed-off-by to this commit: 91799f7
I, Vaughan Knight <[email protected]>, hereby add my Signed-off-by to this commit: 4665813

Signed-off-by: Vaughan Knight <[email protected]>

* Updates based on code review for WattTime Tests

Updates based on code review for WattTime Tests.  Mostly cleanup of constants which were removed elsewhere in tests.

* Cleaned up a lot of the string literals

Cleaned up a lot of the string literals.  They were causing too much fragility in the code base, and made it complex when updating the WattTime API.

* More cleanup of some of the strings

More cleanup of some of the strings.  Creating consistency for using the test data on parameters and not just reponses also.

* Updates to documentation and changelog

Updates to documentation and changelog

* Fix

Signed-off-by: Yasumasa Suenaga <[email protected]>

* Update azure-regions.json (#536)

Latest azure-regions.json list 
Adds italynorth, polandcentral, spaincentral, mexicocentral, israelcentral, qatarcentral, brazilus, eastusstg
(Also seems to remove trailing zeros in some existing coordinates)

Signed-off-by: Dan Benitah <[email protected]>

* Update casdk-docs/blog/2024-05-16-dotnet8/index.md

Co-authored-by: Vaughan Knight <[email protected]>
Signed-off-by: Yasumasa Suenaga <[email protected]>

* Update casdk-docs/blog/2024-05-16-dotnet8/index.md

Co-authored-by: Vaughan Knight <[email protected]>
Signed-off-by: Yasumasa Suenaga <[email protected]>

* Update casdk-docs/blog/2024-05-16-dotnet8/index.md

Co-authored-by: Vaughan Knight <[email protected]>
Signed-off-by: Yasumasa Suenaga <[email protected]>

* Update casdk-docs/blog/2024-05-16-dotnet8/index.md

Co-authored-by: Vaughan Knight <[email protected]>
Signed-off-by: Yasumasa Suenaga <[email protected]>

* Update casdk-docs/blog/2024-05-16-dotnet8/index.md

Co-authored-by: Vaughan Knight <[email protected]>
Signed-off-by: Yasumasa Suenaga <[email protected]>

* Update casdk-docs/blog/2024-05-16-dotnet8/index.md

Co-authored-by: Vaughan Knight <[email protected]>
Signed-off-by: Yasumasa Suenaga <[email protected]>

* Update casdk-docs/blog/2024-05-16-dotnet8/index.md

Co-authored-by: Vaughan Knight <[email protected]>
Signed-off-by: Yasumasa Suenaga <[email protected]>

* Update casdk-docs/blog/2024-05-16-dotnet8/index.md

Co-authored-by: Vaughan Knight <[email protected]>
Signed-off-by: Yasumasa Suenaga <[email protected]>

* Update casdk-docs/blog/2024-05-16-dotnet8/index.md

Co-authored-by: Vaughan Knight <[email protected]>
Signed-off-by: Yasumasa Suenaga <[email protected]>

* Update casdk-docs/blog/2024-05-16-dotnet8/index.md

Co-authored-by: Vaughan Knight <[email protected]>
Signed-off-by: Yasumasa Suenaga <[email protected]>

* Update casdk-docs/blog/2024-05-16-dotnet8/index.md

Co-authored-by: Vaughan Knight <[email protected]>
Signed-off-by: Yasumasa Suenaga <[email protected]>

* Update casdk-docs/blog/2024-05-16-dotnet8/index.md

Co-authored-by: Vaughan Knight <[email protected]>
Signed-off-by: Yasumasa Suenaga <[email protected]>

* Update casdk-docs/blog/2024-05-16-dotnet8/index.md

Co-authored-by: Vaughan Knight <[email protected]>
Signed-off-by: Yasumasa Suenaga <[email protected]>

* Update casdk-docs/blog/2024-05-16-dotnet8/index.md

Co-authored-by: Vaughan Knight <[email protected]>
Signed-off-by: Yasumasa Suenaga <[email protected]>

* Update casdk-docs/blog/2024-05-16-dotnet8/index.md

Co-authored-by: Vaughan Knight <[email protected]>
Signed-off-by: Yasumasa Suenaga <[email protected]>

* Update casdk-docs/blog/2024-05-16-dotnet8/index.md

Co-authored-by: Vaughan Knight <[email protected]>
Signed-off-by: Yasumasa Suenaga <[email protected]>

* Update casdk-docs/blog/2024-05-16-dotnet8/index.md

Co-authored-by: Vaughan Knight <[email protected]>
Signed-off-by: Yasumasa Suenaga <[email protected]>

* Update casdk-docs/blog/2024-05-16-dotnet8/index.md

Co-authored-by: Vaughan Knight <[email protected]>
Signed-off-by: Yasumasa Suenaga <[email protected]>

* Update casdk-docs/blog/2024-05-16-dotnet8/index.md

Co-authored-by: Vaughan Knight <[email protected]>
Signed-off-by: Yasumasa Suenaga <[email protected]>

* Update casdk-docs/blog/2024-05-16-dotnet8/index.md

Co-authored-by: Vaughan Knight <[email protected]>
Signed-off-by: Yasumasa Suenaga <[email protected]>

* Update casdk-docs/blog/2024-05-16-dotnet8/index.md

Co-authored-by: Vaughan Knight <[email protected]>
Signed-off-by: Yasumasa Suenaga <[email protected]>

* Update casdk-docs/blog/2024-05-16-dotnet8/index.md

Co-authored-by: Vaughan Knight <[email protected]>
Signed-off-by: Yasumasa Suenaga <[email protected]>

* Update casdk-docs/blog/2024-05-16-dotnet8/index.md

Co-authored-by: Vaughan Knight <[email protected]>
Signed-off-by: Yasumasa Suenaga <[email protected]>

* Update casdk-docs/blog/2024-05-16-dotnet8/index.md

Co-authored-by: Vaughan Knight <[email protected]>
Signed-off-by: Yasumasa Suenaga <[email protected]>

* Update casdk-docs/blog/2024-05-16-dotnet8/index.md

Co-authored-by: Vaughan Knight <[email protected]>
Signed-off-by: Yasumasa Suenaga <[email protected]>

* Update casdk-docs/blog/2024-05-16-dotnet8/index.md

Co-authored-by: Vaughan Knight <[email protected]>
Signed-off-by: Yasumasa Suenaga <[email protected]>

* Update casdk-docs/blog/2024-05-16-dotnet8/index.md

Co-authored-by: Vaughan Knight <[email protected]>
Signed-off-by: Yasumasa Suenaga <[email protected]>

* Update casdk-docs/blog/2024-05-16-dotnet8/index.md

Co-authored-by: Vaughan Knight <[email protected]>
Signed-off-by: Yasumasa Suenaga <[email protected]>

* Update casdk-docs/blog/2024-05-16-dotnet8/index.md

Co-authored-by: Vaughan Knight <[email protected]>
Signed-off-by: Yasumasa Suenaga <[email protected]>

* Update casdk-docs/blog/2024-05-16-dotnet8/index.md

Co-authored-by: Vaughan Knight <[email protected]>
Signed-off-by: Yasumasa Suenaga <[email protected]>

* Update casdk-docs/blog/2024-05-16-dotnet8/index.md

Co-authored-by: Vaughan Knight <[email protected]>
Signed-off-by: Yasumasa Suenaga <[email protected]>

* Update casdk-docs/blog/2024-05-16-dotnet8/index.md

Co-authored-by: Vaughan Knight <[email protected]>
Signed-off-by: Yasumasa Suenaga <[email protected]>

* Fix comments

Signed-off-by: Yasumasa Suenaga <[email protected]>

* Update CHANGELOG.md for v1.5

Signed-off-by: Dan Benitah <[email protected]>

* Update CHANGELOG.md

layout update

Signed-off-by: Dan Benitah <[email protected]>

* Add env directive to values.yaml and troubleshooting guide to avoid inotify limitation on Linux

Closes #528

Signed-off-by: Yasumasa Suenaga <[email protected]>

* Add env directive into explanation of values.yaml for Helm chart

Signed-off-by: Yasumasa Suenaga <[email protected]>

* typo: fix incorrect usage of it's

Signed-off-by: Scott Trent <[email protected]>

* Docs/blog update for releases 1.3 to1.5 and fix (#551)

* Catching up on release blog posts for 1.3, 1.4 and 1.5

Signed-off-by: Dan Benitah <[email protected]>

* fixed docusaurus (strict) compilation error

* release dates updated

Signed-off-by: Dan Benitah <[email protected]>

* added tag

Signed-off-by: Dan Benitah <[email protected]>

* tag update to post and image layout fix

Signed-off-by: Dan Benitah <[email protected]>

* updated slug

Signed-off-by: Dan Benitah <[email protected]>

* formatting fix

Signed-off-by: Dan Benitah <[email protected]>

* DCO Remediation Commit for Dan Benitah <[email protected]>

I, Dan Benitah <[email protected]>, hereby add my Signed-off-by to this commit: 53e120c

Signed-off-by: Dan Benitah <[email protected]>

* formatting

* DCO Remediation Commit for Dan Benitah <[email protected]>

I, Dan Benitah <[email protected]>, hereby add my Signed-off-by to this commit: 0f6cada

Signed-off-by: Dan Benitah <[email protected]>

---------

Signed-off-by: Dan Benitah <[email protected]>

* Add a configuration for disabling to cache JSON emission data

Signed-off-by: Yasumasa Suenaga <[email protected]>

* Update CHANGELOG.md for 1.6

Signed-off-by: Dan Benitah <[email protected]>

* Update 1-pr.yaml

Updating from deprecated version of upload and download artifact to v4 as mentioned in https://github.blog/changelog/2024-02-13-deprecation-notice-v1-and-v2-of-the-artifact-actions/

Signed-off-by: Dan Benitah <[email protected]>

* Update dev_carbon-aware-api.yml

updating upload and download artifact@v1or 2 actions to v4

Signed-off-by: Dan Benitah <[email protected]>

* fixes and release notes post for 1.6

Signed-off-by: Dan Benitah <[email protected]>

* updated blog post

* docs workflow's node version updated to latest LTS -> 22

* DCO Remediation Commit for Dan Benitah <[email protected]>

I, Dan Benitah <[email protected]>, hereby add my Signed-off-by to this commit: d3b054b
I, Dan Benitah <[email protected]>, hereby add my Signed-off-by to this commit: f412591

Signed-off-by: Dan Benitah <[email protected]>

* blogs with truncate

Signed-off-by: Dan Benitah <[email protected]>

* node version update back to 20

Signed-off-by: Dan Benitah <[email protected]>

* adding yarn.lock

* pipelines fixes

Signed-off-by: Dan Benitah <[email protected]>

* Update CarbonAwareController.cs (minor typos)

Signed-off-by: Richard Jackson <[email protected]>

* DCO Remediation Commit for Dan Benitah <[email protected]>

I, Dan Benitah <[email protected]>, hereby add my Signed-off-by to this commit: eae5bd1

Signed-off-by: Dan Benitah <[email protected]>

* Consider null value in carbonIntensity on EM (#575)

Issue #571

Signed-off-by: Yasumasa Suenaga <[email protected]>

* EM datasource didn't filter out-of-range emission data (#572)

Issue #570

Signed-off-by: Yasumasa Suenaga <[email protected]>

* Update CHANGELOG.md

updating changelog for 1.6.1

Signed-off-by: Dan Benitah <[email protected]>

* Add configuration for tracing log (#531)

Signed-off-by: Yasumasa Suenaga <[email protected]>

* Updating 1.6.1 to include #531 straight away

* DCO Remediation Commit for Dan Benitah <[email protected]>

I, Dan Benitah <[email protected]>, hereby add my Signed-off-by to this commit: f35bb59

Signed-off-by: Dan Benitah <[email protected]>

* fix

Signed-off-by: Dan Benitah <[email protected]>

---------

Signed-off-by: Vaughan Knight <[email protected]>
Signed-off-by: Dan Benitah <[email protected]>
Signed-off-by: Sophie Trinder <[email protected]>
Signed-off-by: Phil Huang <[email protected]>
Signed-off-by: Richard Jackson <[email protected]>
Signed-off-by: tkuramoto33 <[email protected]>
Signed-off-by: Rintaro Ikeda <[email protected]>
Signed-off-by: JasonLuuk <[email protected]>
Signed-off-by: Yasumasa Suenaga <[email protected]>
Signed-off-by: danuw <[email protected]>
Signed-off-by: Osama Jandali <[email protected]>
Signed-off-by: Szymon Duchniewicz <[email protected]>
Signed-off-by: Russell Trow <[email protected]>
Signed-off-by: Yasumasa Suenaga <[email protected]>
Signed-off-by: omahs <[email protected]>
Signed-off-by: joecus1 <[email protected]>
Signed-off-by: nttDamien <[email protected]>
Signed-off-by: Yasumasa Suenaga <[email protected]>
Signed-off-by: Scott Trent <[email protected]>
Signed-off-by: Dan Benitah <[email protected]>
Co-authored-by: Vaughan Knight <[email protected]>
Co-authored-by: Sophie Trinder <[email protected]>
Co-authored-by: Phil Huang <[email protected]>
Co-authored-by: Richard Jackson <[email protected]>
Co-authored-by: tkuramoto33 <[email protected]>
Co-authored-by: Rintaro Ikeda <[email protected]>
Co-authored-by: rinikeda <[email protected]>
Co-authored-by: JasonLuuk <[email protected]>
Co-authored-by: Szymon Duchniewicz <[email protected]>
Co-authored-by: Yasumasa Suenaga <[email protected]>
Co-authored-by: Osama Jandali <[email protected]>
Co-authored-by: Szymon Duchniewicz <[email protected]>
Co-authored-by: Russell Trow <[email protected]>
Co-authored-by: Takuya Iwatsuka <[email protected]>
Co-authored-by: omahs <[email protected]>
Co-authored-by: joecus1 <[email protected]>
Co-authored-by: nttDamien <[email protected]>
Co-authored-by: Yasumasa Suenaga <[email protected]>
Co-authored-by: Scott Trent <[email protected]>
Co-authored-by: Scott Trent <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ready for Review PR Ready for review with the GSF team for merge v1.6.1 v1.6.2
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants