Grafana datasource to load JSON data over your arbitrary HTTP backend
Hello,
I would like to request an API but params require a ":" character. Something like : /api/search?query=toto:chips+tata:bacon
In grafana, I've created the new source with the url /api/search And when I create a new panel with params :
key : query
value : toto:chips+tata:bacon
It doesn't work.
I also tried :
key : query
value : toto%3Achips+tata%3Abacon
But still doesn't work
Is there a way to make it work ?
Thanks Have a good day,
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| eslint-plugin-jsdoc | 40.1.0
-> 40.1.1
| |
|
|
|
v40.1.1
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
â™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.
chore(deps): update dependency eslint-plugin-jsdoc to v40.1.1 (#57)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Dunno, something that tells us what's wrong.
Try to reproduce. There's example server you can use https://github.com/simPod/GrafanaJsonDatasource/tree/0.6.x/examples/server
Can you investigate why it "doesn't work"?
feat: ban phpunit's annotations (#108)
Use Attributes instead (since PHPUnit v10). Older PHPUnit's versions will not be supported.
Use Attributes instead (since PHPUnit v10). Older PHPUnit's versions will not be supported.
chore(deps): update actions/stale action to v8 (#399)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| actions/stale | action | major | v7
-> v8
|
v8
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
â™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.
That helped, thanks. There was experimental loader specified additionally.
Neither of these commands
NODE_OPTIONS="--require $(pwd)/.pnp.cjs" node client/script.mjs
node -r './.pnp.cjs' client/script.mjs
work.
node:internal/process/esm_loader:100
internalBinding('errors').triggerUncaughtException(
^
Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'arg' imported from /path/client/script.mjs
Did you mean to import arg-npm-5.0.2-2f5805a547-6c69ada1a9.zip/node_modules/arg/index.js?
at new NodeError (node:internal/errors:399:5)
at packageResolve (node:internal/modules/esm/resolve:794:9)
at moduleResolve (node:internal/modules/esm/resolve:843:20)
at defaultResolve (node:internal/modules/esm/resolve:1058:11)
at nextResolve (node:internal/modules/esm/loader:163:28)
at ESMLoader.resolve (node:internal/modules/esm/loader:835:30)
at ESMLoader.getModuleJob (node:internal/modules/esm/loader:416:18)
at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:76:40)
at link (node:internal/modules/esm/module_job:75:36) {
code: 'ERR_MODULE_NOT_FOUND'
}
yarn node client/script.mjs
works though.
// Sherlock reproduction. For instance:
await packageJsonAndInstall({
dependencies: {
[`arg`]: `^5.0.2`,
},
});
import arg from 'arg';
System:
OS: macOS 13.2.1
CPU: (10) arm64 Apple M1 Max
Binaries:
Node: 19.6.1 - /private/var/folders/11/2hy99kxj3tz2gtv5khgnt2y80000gn/T/xfs-b650c0ca/node
Yarn: 3.4.1 - /private/var/folders/11/2hy99kxj3tz2gtv5khgnt2y80000gn/T/xfs-b650c0ca/yarn
npm: 9.4.0 - /opt/homebrew/bin/npm
I cannot use yarn node
with pm2
cluster mode.
Same behaviour is on latest canary.
feat: improve Map::get()
@throws inference
feat: improve Map::get()
@throws inference
feat: improve Map::get()
@throws inference
feat: improve Map::get()
@throws inference
feat: improve Map::get()
@throws inference
feat: improve Map::get()
@throws inference
Opening based on https://github.com/phpstan/phpstan/issues/9066, hope it's correct place where to put the extension
I wrote this extension to have better throws
inference from \Ds\Map::get()
. I wonder if there's a way to somehow make it into phpstan's core so I don't have to copy this extension into every project?
use Ds\Map;
use PhpParser\Node\Expr\MethodCall;
use PHPStan\Analyser\Scope;
use PHPStan\Reflection\MethodReflection;
use PHPStan\Type\DynamicMethodThrowTypeExtension;
use PHPStan\Type\Type;
use function count;
final class ExtDsThrowExtension implements DynamicMethodThrowTypeExtension
{
public function isMethodSupported(MethodReflection $methodReflection): bool
{
return $methodReflection->getDeclaringClass()->getName() === Map::class
&& $methodReflection->getName() === 'get';
}
public function getThrowTypeFromMethodCall(MethodReflection $methodReflection, MethodCall $methodCall, Scope $scope): Type|null
{
if (count($methodCall->args) < 2) {
return $methodReflection->getThrowType();
}
return null;
}
}
Improve array_search type specifier performance
Merge branch '1.8.x' into 1.9.x
Add @phpstan-self-out support
Add compatibility rule
Fix CS
Temporary Rector fix
Fix custom rule
InClassMethodNode - contains ExtendedMethodReflection
Improve consistency
always handle native types in assignVariable
fix nativeTypes of enterAnonymousFunctionWithoutReflection
always specify native types
finish TODO. duplicated assign for ArrayDimFetch
add native expression tests
cases from
Fix BooleanAndConstantConditionRule and BooleanOrConstantConditionRule
Everyone can use getNativeType()
Fix UnreachableTernaryElseBranchRule
Fix UnreachableIfBranchesRule
Fix CS
Rebase fix