1
0
Fork 0
mirror of https://github.com/imjasonh/gcp-metrics-action synced 2026-07-07 00:22:45 +00:00
Commit graph

117 commits

Author SHA1 Message Date
Jason Hall
56baa7e9e3
Merge pull request #45 from imjasonh/attributes-workflow-ref 2025-11-17 07:57:59 -05:00
Jason Hall
58bcc087df
Merge pull request #47 from imjasonh/copilot/sub-pr-45-again 2025-11-17 07:57:05 -05:00
copilot-swe-agent[bot]
15fc160679 Rebuild dist files with npm run build
Co-authored-by: imjasonh <210737+imjasonh@users.noreply.github.com>
2025-11-17 11:59:06 +00:00
copilot-swe-agent[bot]
5cf009b414 Initial plan 2025-11-17 11:56:42 +00:00
Jason Hall
7c37f4d121
Merge pull request #46 from imjasonh/copilot/sub-pr-45
Add test case for whitespace-only attributes input
2025-11-12 12:19:38 -05:00
copilot-swe-agent[bot]
19bc66339b Add test case for whitespace-only attributes input
Co-authored-by: imjasonh <210737+imjasonh@users.noreply.github.com>
2025-11-12 17:08:18 +00:00
copilot-swe-agent[bot]
469f5fd970 Initial plan 2025-11-12 17:05:05 +00:00
Jason Hall
743ca63209
Update lib/config.js
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-12 12:04:17 -05:00
Jason Hall
a410dbb4ac support custom attributes, add fallback workflow_ref
Signed-off-by: Jason Hall <jason@chainguard.dev>
2025-11-11 23:03:43 -05:00
Jason Hall
ed3ab1e0f6
Merge pull request #43 from imjasonh/errors
more better logging
2025-11-06 19:27:50 -05:00
Jason Hall
e4877fd28b more better logging
Signed-off-by: Jason Hall <jason@chainguard.dev>
2025-11-06 19:26:53 -05:00
Jason Hall
8602f6dabe
Merge pull request #42 from imjasonh/matrix
handle matrix jobs better, differentiate by runner_name
2025-11-06 14:21:30 -05:00
Jason Hall
ae9d8858bb handle matrix jobs better, differentiate by runner_name
Signed-off-by: Jason Hall <jason@chainguard.dev>
2025-11-06 14:00:01 -05:00
Jason Hall
72db7b6d53
Merge pull request #41 from imjasonh/imjasonh-patch-2
Enhance README with action badge and example link
2025-11-05 23:49:16 -05:00
Jason Hall
d9aa4adfa8
Enhance README with action badge and example link
Added usage badge and example workflow link to README.
2025-11-05 23:48:23 -05:00
Jason Hall
4b3df47ee7
Merge pull request #40 from imjasonh/copilot/js-code-review-improvements
Refactor JavaScript code and improve test coverage
2025-11-05 23:45:51 -05:00
copilot-swe-agent[bot]
d47b3f6a7c Complete JS code refactoring - break down long methods into focused functions
Co-authored-by: imjasonh <210737+imjasonh@users.noreply.github.com>
2025-11-06 04:44:08 +00:00
copilot-swe-agent[bot]
2448030f59 Changes before error encountered
Co-authored-by: imjasonh <210737+imjasonh@users.noreply.github.com>
2025-11-06 04:34:13 +00:00
copilot-swe-agent[bot]
7b1d023ee9 Initial plan 2025-11-06 04:25:31 +00:00
Jason Hall
a200d1ef32
Merge pull request #38 from imjasonh/fail-on-error
support fail-on-error
2025-11-05 23:20:47 -05:00
Jason Hall
88b349d95f support fail-on-error
Signed-off-by: Jason Hall <jason@chainguard.dev>
2025-11-05 23:19:57 -05:00
Jason Hall
0f96177845
Merge pull request #37 from imjasonh/fix
document why this was broken
2025-11-05 23:14:43 -05:00
Jason Hall
4a2a23a1fc document why this was broken
Signed-off-by: Jason Hall <jason@chainguard.dev>
2025-11-05 23:13:42 -05:00
Jason Hall
b6b738452e
Merge pull request #36 from imjasonh/no-cleanup
do not clean up creds file
2025-11-05 23:09:43 -05:00
Jason Hall
2119b2deba checkout first
Signed-off-by: Jason Hall <jason@chainguard.dev>
2025-11-05 23:08:40 -05:00
Jason Hall
ee71915c18 do not clean up creds file
Signed-off-by: Jason Hall <jason@chainguard.dev>
2025-11-05 23:06:50 -05:00
Jason Hall
d2bab9bf18
Merge pull request #34 from imjasonh/dependabot/github_actions/actions/checkout-5
Bump actions/checkout from 4 to 5
2025-11-05 22:32:51 -05:00
dependabot[bot]
1b80d55600
Bump actions/checkout from 4 to 5
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-06 03:32:15 +00:00
Jason Hall
fb82d07dd8
Merge pull request #33 from imjasonh/dependabot/npm_and_yarn/all-d1f71af596
Bump the all group with 7 updates
2025-11-05 22:31:20 -05:00
Jason Hall
2d66bf9840 Fix OpenTelemetry v2 TracerProvider and add test coverage
- Fix: Pass spanProcessors in BasicTracerProvider constructor (v2 API)
- Add tests for createTracerProvider (was untested)
- Tests now cover: basic creation, with credentials, error handling

This breakage wasn't caught before because TracerProvider wasn't tested.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-05 22:30:01 -05:00
Jason Hall
0226ab3336 Fix OpenTelemetry v2 migration - use resourceFromAttributes
Breaking change in OpenTelemetry v2:
- v1: new Resource({...})
- v2: resourceFromAttributes({...})

Updated both MeterProvider and TracerProvider to use the new API.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-05 22:22:25 -05:00
Jason Hall
c4480fe710
Merge pull request #32 from imjasonh/dependabot/github_actions/actions/setup-python-6
Bump actions/setup-python from 5 to 6
2025-11-05 22:11:00 -05:00
dependabot[bot]
28206cd55c
Bump actions/setup-python from 5 to 6
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 5 to 6.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-06 03:10:25 +00:00
Jason Hall
8f00325f90
Merge pull request #31 from imjasonh/dependabot/github_actions/actions/setup-node-6
Bump actions/setup-node from 4 to 6
2025-11-05 22:10:07 -05:00
dependabot[bot]
1fd9618819
Bump the all group with 7 updates
Bumps the all group with 7 updates:

| Package | From | To |
| --- | --- | --- |
| [@google-cloud/opentelemetry-cloud-monitoring-exporter](https://github.com/GoogleCloudPlatform/opentelemetry-operations-js) | `0.19.0` | `0.21.0` |
| [@google-cloud/opentelemetry-cloud-trace-exporter](https://github.com/GoogleCloudPlatform/opentelemetry-operations-js) | `2.4.1` | `3.0.0` |
| [@opentelemetry/core](https://github.com/open-telemetry/opentelemetry-js) | `1.30.1` | `2.2.0` |
| [@opentelemetry/resources](https://github.com/open-telemetry/opentelemetry-js) | `1.30.1` | `2.2.0` |
| [@opentelemetry/sdk-metrics](https://github.com/open-telemetry/opentelemetry-js) | `1.30.1` | `2.2.0` |
| [@opentelemetry/sdk-trace-base](https://github.com/open-telemetry/opentelemetry-js) | `1.30.1` | `2.2.0` |
| [google-auth-library](https://github.com/googleapis/google-auth-library-nodejs) | `9.15.1` | `10.5.0` |


Updates `@google-cloud/opentelemetry-cloud-monitoring-exporter` from 0.19.0 to 0.21.0
- [Release notes](https://github.com/GoogleCloudPlatform/opentelemetry-operations-js/releases)
- [Commits](https://github.com/GoogleCloudPlatform/opentelemetry-operations-js/compare/@google-cloud/opentelemetry-cloud-monitoring-exporter@0.19.0...@google-cloud/opentelemetry-cloud-monitoring-exporter@0.21.0)

Updates `@google-cloud/opentelemetry-cloud-trace-exporter` from 2.4.1 to 3.0.0
- [Release notes](https://github.com/GoogleCloudPlatform/opentelemetry-operations-js/releases)
- [Commits](https://github.com/GoogleCloudPlatform/opentelemetry-operations-js/compare/@google-cloud/opentelemetry-cloud-trace-exporter@2.4.1...@google-cloud/opentelemetry-cloud-trace-exporter@3.0.0)

Updates `@opentelemetry/core` from 1.30.1 to 2.2.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-js/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-js/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-js/compare/v1.30.1...v2.2.0)

Updates `@opentelemetry/resources` from 1.30.1 to 2.2.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-js/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-js/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-js/compare/v1.30.1...v2.2.0)

Updates `@opentelemetry/sdk-metrics` from 1.30.1 to 2.2.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-js/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-js/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-js/compare/v1.30.1...v2.2.0)

Updates `@opentelemetry/sdk-trace-base` from 1.30.1 to 2.2.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-js/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-js/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-js/compare/v1.30.1...v2.2.0)

Updates `google-auth-library` from 9.15.1 to 10.5.0
- [Release notes](https://github.com/googleapis/google-auth-library-nodejs/releases)
- [Changelog](https://github.com/googleapis/google-auth-library-nodejs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/googleapis/google-auth-library-nodejs/compare/v9.15.1...v10.5.0)

---
updated-dependencies:
- dependency-name: "@google-cloud/opentelemetry-cloud-monitoring-exporter"
  dependency-version: 0.21.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all
- dependency-name: "@google-cloud/opentelemetry-cloud-trace-exporter"
  dependency-version: 3.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: all
- dependency-name: "@opentelemetry/core"
  dependency-version: 2.2.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: all
- dependency-name: "@opentelemetry/resources"
  dependency-version: 2.2.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: all
- dependency-name: "@opentelemetry/sdk-metrics"
  dependency-version: 2.2.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: all
- dependency-name: "@opentelemetry/sdk-trace-base"
  dependency-version: 2.2.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: all
- dependency-name: google-auth-library
  dependency-version: 10.5.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: all
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-06 03:09:47 +00:00
Jason Hall
398a2c6660
Merge pull request #30 from imjasonh/rm-pr-c
rm pr-checks.yml
2025-11-05 22:09:11 -05:00
dependabot[bot]
4f8e96e417
Bump actions/setup-node from 4 to 6
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 4 to 6.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v4...v6)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-06 03:09:04 +00:00
Jason Hall
312e119666
Merge pull request #29 from imjasonh/dbot
dbot: one big group
2025-11-05 22:08:25 -05:00
Jason Hall
fb71481668 rm pr-checks.yml
Signed-off-by: Jason Hall <jason@chainguard.dev>
2025-11-05 22:08:13 -05:00
Jason Hall
1e347c06bf dbot: one big group
Signed-off-by: Jason Hall <jason@chainguard.dev>
2025-11-05 22:07:30 -05:00
Jason Hall
1800849874
Merge pull request #28 from imjasonh/ugh
fix pre-commit.yaml
2025-11-05 22:05:43 -05:00
Jason Hall
43244a9f38 fix pre-commit.yaml
Signed-off-by: Jason Hall <jason@chainguard.dev>
2025-11-05 22:04:56 -05:00
Jason Hall
6aa717ac00
Merge pull request #26 from imjasonh/ignore-major
ignore major otel dep updates
2025-11-05 22:03:13 -05:00
Jason Hall
1312f69d89
Merge branch 'main' into ignore-major 2025-11-05 22:02:19 -05:00
Jason Hall
6c7eba7848 ignore major otel dep updates
Signed-off-by: Jason Hall <jason@chainguard.dev>
2025-11-05 22:01:49 -05:00
Jason Hall
743b41e1f7
Merge pull request #24 from imjasonh/dependabot/github_actions/actions/setup-node-6
Bump actions/setup-node from 4 to 6
2025-11-05 21:55:13 -05:00
Jason Hall
2e29821557
Merge branch 'main' into dependabot/github_actions/actions/setup-node-6 2025-11-05 21:54:33 -05:00
Jason Hall
b2896760ed
Merge pull request #23 from imjasonh/dependabot/github_actions/actions/setup-python-6
Bump actions/setup-python from 5 to 6
2025-11-05 21:54:07 -05:00
Jason Hall
ec7f7bfa55
Merge pull request #22 from imjasonh/dependabot/github_actions/actions/checkout-5
Bump actions/checkout from 4 to 5
2025-11-05 21:53:58 -05:00
dependabot[bot]
86db6593f2
Bump actions/setup-node from 4 to 6
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 4 to 6.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v4...v6)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-06 02:53:26 +00:00