Skip to content

Commit 0a1957a

Browse files
committed
refactor
1 parent aa5d71e commit 0a1957a

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@ composer require inspector-apm/inspector-symfony
2424

2525
<a name="api-key"></a>
2626

27-
### Configure the API Key
27+
### Configure the INGESTION Key
2828

29-
Create the `inspector.yaml` configuration file in your `config/packages` directory, and put the `api_key` field inside:
29+
Create the `inspector.yaml` configuration file in your `config/packages` directory, and put the `ingestion_key` field inside:
3030

3131
```yaml
3232
inspector:
33-
api_key: [your-application-api-key]
33+
api_key: [your-ingestion-key]
3434
```
3535
3636
You can obtain the `api_key` creating a new project in your [Inspector](https://www.inspector.dev) dashboard.

recipe/config/packages/inspector.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
inspector:
2-
api_key: '%env(INSPECTOR_API_KEY)%'
2+
ingestion_key: '%env(INSPECTOR_INGESTION_KEY)%'

src/DependencyInjection/Configuration.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public function getConfigTreeBuilder()
1818
$tree->getRootNode()->children()
1919
->booleanNode('enabled')->defaultTrue()->end()
2020
->scalarNode('url')->defaultValue('https://ingest.inspector.dev')->end()
21-
->scalarNode('api_key')->defaultNull()->end()
21+
->scalarNode('ingestion_key')->defaultNull()->end()
2222
->booleanNode('unhandled_exceptions')->defaultTrue()->end()
2323
->booleanNode('query')->defaultTrue()->end()
2424
->booleanNode('query_bindings')->defaultFalse()->end()

0 commit comments

Comments
 (0)