Skip to content

Add RES-006 and RES-007 resource attribute rules#53

Draft
jpkrohling wants to merge 1 commit into
instrumentation-score:mainfrom
jpkrohling:claude/thirsty-bassi
Draft

Add RES-006 and RES-007 resource attribute rules#53
jpkrohling wants to merge 1 commit into
instrumentation-score:mainfrom
jpkrohling:claude/thirsty-bassi

Conversation

@jpkrohling

@jpkrohling jpkrohling commented Apr 3, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds two new instrumentation scoring rules based on OTel Service and Deployment Semantic Conventions (community#2837):

  • RES-006service.criticality enum validation (mission_critical, high, medium, low) — Normal impact
  • RES-007deployment.environment.name presence check — Important impact

Future work

Two additional rules are deferred until their semantic conventions are approved:

  • service.owner (Phase 1 — semconv not yet approved)
  • data.sensitivity (Phase 3 — not yet defined in semconv)

Test plan

  • Verify rule files follow the existing template format
  • Confirm attribute names and enum values match OTel community#2837
  • Review impact level assignments

Closes #54

🤖 Generated with Claude Code

Add two new instrumentation scoring rules based on OTel community
resource attribute standards (community#2837):

- RES-006: Validates service.criticality enum values (Normal impact)
- RES-007: Checks deployment.environment.name presence (Important impact)

Relates to OTEL-99.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Apr 3, 2026

Copy link
Copy Markdown

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 90553710-e887-4a1d-8358-e570927330e9

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@mmanciop

Copy link
Copy Markdown
Contributor

I regret I only have one +1 to give

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add resource attribute rules for service.criticality and deployment.environment.name

2 participants