Data delivery troubleshooting
This section can help you diagnose and fix most of the issues you may encounter when delivering data to Monium.
Monium supports OTLP data without additional conversion. Therefore, start by studying the OTLP configuration requirements and OTel Collector setup.
General diagnostics recommendations
If you have issues sending data to Monium, go through these basic diagnostic steps:
-
Enable logging. Make sure your OTLP client has detailed logging activated to give you detailed error info. The logging activation method depends on your particular implementation.
-
Check environment variables. Make sure the
MONIUM_PROJECTandMONIUM_API_KEYenvironment variables are correctly defined and available to your application or OTel Collector.If using
cloud__<cloud_ID>orfolder__<folder_ID>projects, make surefolderorcloudis followed by two underscores. -
Check the API key:
- The API key is valid, not expired.
- The API key has the
yc.monium.telemetry.writescope. - The service account associated with the API key has the
monium.telemetry.writerrole. - The
Authorizationheader has the correct format:Authorization: Api-Key <API_key>.
-
Check the project configuration in the OTEL exporter:
- The
MONIUM_PROJECTvariable is set and has the correct format. The project must have the same name as in the URL on the project home page. - The
x-monium-projectheader provides theMONIUM_PROJECTvariable value. - The API key and service account have write permissions for the project.
- The
-
Test network availability. Monium may require you to configure a firewall depending on your network configuration. If gRPC connections are blocked from your network, configure sending over
http/protobuf.
Errors
The table lists common errors you may get when using Monium over gRPC.
|
gRPC code |
Error type |
Error message |
Solution |
Notes |
|
rpc code 3 - InvalidArgument |
No project header provided |
|
Add the |
Make sure the |
|
rpc code 7 - Unauthenticated |
No project header provided (alternative message) |
|
Add the |
Make sure the |
|
rpc code 7 - Unauthenticated |
No authorization provided |
|
Make sure that the |
Add the |
|
rpc code 7 - Unauthenticated |
No authorization provided |
|
The |
Make sure the |
|
rpc code 16 - PermissionDenied |
Obsolete API key |
|
The key has expired |
Generate a new API key and update |
|
rpc code 16 - PermissionDenied |
Unknown API key |
|
Unknown API key |
Generate a new API key and update |
|
rpc code 16 - PermissionDenied |
Invalid API key |
|
Make sure the API key is correct and check the |
The API key must be provided as |
|
rpc code 16 - PermissionDenied |
Not enough permissions |
|
Check the API key permissions for the folder |
Make sure that the project is specified correctly, the API key has the |
|
rpc code 16 - PermissionDenied |
Project not found |
|
Check the project name format |
Copy the project name from the URL on the project home page |
|
rpc code 8 - ResourceExhausted |
Quota for number of stored metrics exceeded |
|
Increase the for stored metrics number quota |
Contact support to increase the metrics per shard limit |
|
transport |
No network access |
|
Check |
If the gRPC protocol is blocked, configure export over |
More information
If you get OTel Collector configuration errors, refer to the official OpenTelemetry guide
You can check the configuration using this command:
otelcol validate --config=otel-collector.yaml