Skip to content

fix: use PascalCase for dimensions and metrics in shell script#3

Open
SmallMouth wants to merge 1 commit intoopenx:mainfrom
SmallMouth:fix/shell-script-dimension-metric-case
Open

fix: use PascalCase for dimensions and metrics in shell script#3
SmallMouth wants to merge 1 commit intoopenx:mainfrom
SmallMouth:fix/shell-script-dimension-metric-case

Conversation

@SmallMouth
Copy link

@SmallMouth SmallMouth commented Jan 20, 2026

Problem

The shell script uses lowercase dimension and metric names which causes API error:
Invalid metric allRequests, Invalid dimension hour

Solution

Changed to PascalCase format to match API requirements and README examples.

Changes

  • hourHour
  • pageDomainPageDomain
  • allRequestsAllRequests
  • clicksClicks

Reference

The API requires PascalCase format for dimension and metric names.
Changed:
- hour → Hour
- pageDomain → PageDomain
- allRequests → AllRequests
- clicks → Clicks
@SmallMouth SmallMouth marked this pull request as ready for review January 20, 2026 06:36
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.

1 participant