• 7

A PHP Error was encountered

Severity: Notice

Message: Undefined index: userid

Filename: views/question.php

Line Number: 191


File: /home/prodcxja/public_html/questions/application/views/question.php
Line: 191
Function: _error_handler

File: /home/prodcxja/public_html/questions/application/controllers/Questions.php
Line: 433
Function: view

File: /home/prodcxja/public_html/questions/index.php
Line: 315
Function: require_once

name Punditsdkoslkdosdkoskdo

Specifying resource in Stackdriver logging

I have a problem with custom metric for Google Stackdriver logging. I have created a simple metric for 404 errors, with this filter:

resource.type="gce_instance" textPayload: "HTTP" textPayload: "404" logName: "logs/apache-access"

Everything is working ok, but when I try to create chart in Stackdriver, I can't specify resource, what results, that Stackdriver don't know from where it should takes data.

Printscreen from Stackdriver Another printscreen from Stackdriver

Warm tip !!!

This article is reproduced from Stack Exchange / Stack Overflow, please click

Trending Tags