jaredLunde / jaredLunde/monirail

Type '"NETWORK_EGRESS_GB"' is not assignable to type '"CPU_USAGE" | "EPHEMERAL_DISK_USAGE_GB" | "MEMORY_USAGE_GB"'.

Open
#3 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
3
Forks
0
PR merge metrics
No merged PRs in 30d

Description

`"NETWORK_EGRESS_GB"` is referenced in the docs as a valid option for the measure field.

However a TypeScript warning is shown: `Type '"NETWORK_EGRESS_GB"' is not assignable to type '"CPU_USAGE" | "EPHEMERAL_DISK_USAGE_GB" | "MEMORY_USAGE_GB"'.`

Image

```
"monirail": "^1.0.12",
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the TypeScript type that defines the measure field and the documentation reference for NETWORK_EGRESS_GB. Confirm how the published monirail ^1.0.12 types differ from the documented options; the issue is done when NETWORK_EGRESS_GB is accepted consistently and the warning is covered by the relevant validation or type check.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
observability
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.