add project internal id to the timeseries tats

This commit is contained in:
Damodar Lohani
2022-09-25 02:07:26 +00:00
parent 5e6b8ec506
commit 4969ceadd4
2 changed files with 3 additions and 1 deletions
+2 -1
View File
@@ -80,7 +80,8 @@ class Stats
public function submit(): void
{
$projectId = $this->params['projectId'] ?? '';
$tags = ",projectId={$projectId},version=" . App::getEnv('_APP_VERSION', 'UNKNOWN');
$projectInternalId = $this->params['projectInternalId'];
$tags = ",projectInternalId={$projectInternalId},projectId={$projectId},version=" . App::getEnv('_APP_VERSION', 'UNKNOWN');
// the global namespace is prepended to every key (optional)
$this->statsd->setNamespace($this->namespace);