{"id":31109353,"url":"https://github.com/gradientedge/msft-azure-test-functions","last_synced_at":"2025-09-17T06:50:49.761Z","repository":{"id":313754415,"uuid":"1051125369","full_name":"gradientedge/msft-azure-test-functions","owner":"gradientedge","description":null,"archived":false,"fork":false,"pushed_at":"2025-09-08T07:40:35.000Z","size":5866,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-08T09:27:57.926Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gradientedge.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2025-09-05T13:35:38.000Z","updated_at":"2025-09-08T07:40:38.000Z","dependencies_parsed_at":"2025-09-08T09:28:19.497Z","dependency_job_id":"c453e401-b4cb-406c-841b-9cea4363b35c","html_url":"https://github.com/gradientedge/msft-azure-test-functions","commit_stats":null,"previous_names":["gradientedge/msft-azure-test-functions"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/gradientedge/msft-azure-test-functions","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gradientedge%2Fmsft-azure-test-functions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gradientedge%2Fmsft-azure-test-functions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gradientedge%2Fmsft-azure-test-functions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gradientedge%2Fmsft-azure-test-functions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gradientedge","download_url":"https://codeload.github.com/gradientedge/msft-azure-test-functions/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gradientedge%2Fmsft-azure-test-functions/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275549641,"owners_count":25484681,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-17T02:00:09.119Z","response_time":84,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-09-17T06:50:45.164Z","updated_at":"2025-09-17T06:50:49.745Z","avatar_url":"https://github.com/gradientedge.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OTEL Azure Function Compatibility Test\n\n## Purpose\n\nThis project is designed to **test Azure Function behavior** when making changes to APIs and configuration.  \n\nThe goals are to ensure:  \n\n- **Backward compatibility** with existing OTEL (OpenTelemetry) configuration.  \n- **No loss of functionality or support** after updates or modifications.  \n\n## Usage\n\nThis function is intended to validate:  \n\n1. Changes in API endpoints.  \n2. Updates to function configuration.  \n3. Compatibility with OTEL tracing, logging, and metrics.  \n\n## Prerequisites\n\nBefore deploying, you need to:  \n\n- Create a Function App in the **Azure Portal**.  \n- Create a **Key Vault** and a secret named `my-secret`.  \n- Configure the Function App to have access permissions to the Key Vault.  \n\n## Running Tests\n\nEach experiment includes a `run.sh` script, which runs the test end-to-end.  \n\nBefore running, set the following environment variables:  \n\n```bash\nRESOURCE_GROUP_NAME   # The resource group where the Function App is deployed\nFUNCTION_NAME         # The name of the Function App used for experiments\nENDPOINT              # The URL of the Function App\nVAULT_ENDPOINT        # The URL of the Key Vault\n```\n\nRun the script with:\n\n```shell\ncd functions/\u003cexperiment\u003e\n./run.sh\n```\n\n## Resources\n\n- [OTEL ESM Support](https://github.com/open-telemetry/opentelemetry-js/blob/main/doc/esm-support.md)\nThe entire startup command should include the following `NODE_OPTIONS`:\n\n| Node.js Version   | NODE_OPTIONS                                                                              |\n| ----------------- | ----------------------------------------------------------------------------------------- |\n| 16.x              | `--require ./telemetry.cjs --experimental-loader=@opentelemetry/instrumentation/hook.mjs` |\n| \u003e=18.1.0 \u003c18.19.0 | `--require ./telemetry.cjs --experimental-loader=@opentelemetry/instrumentation/hook.mjs` |\n| ^18.19.0          | `--import ./telemetry.mjs --experimental-loader=@opentelemetry/instrumentation/hook.mjs`  |\n| 20.x              | `--import ./telemetry.mjs --experimental-loader=@opentelemetry/instrumentation/hook.mjs`  |\n| 22.x              | `--import ./telemetry.mjs --experimental-loader=@opentelemetry/instrumentation/hook.mjs`  |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgradientedge%2Fmsft-azure-test-functions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgradientedge%2Fmsft-azure-test-functions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgradientedge%2Fmsft-azure-test-functions/lists"}